It should be anticlockwise
pls be aware, cutting like this has a big chance to generate cutting forces that will have the tendency to send the nut in front of the screwball, forcing the control to generate negative diff, and increasing cnc wear
using anticlock as default requires skils that are not required for the clock sense ... is a thing is not viral, only a #machinist_thing, sorry
okey, pls check the 2 codes below and attached image
i have a better idea : print them; no, e-mail them to your teacher, and write him that you have self-evaluated your (home)work, and it deserves a 9, but you are satisfiedd with no more then 7 will you ? it takes 1 minute ... or give him the link 2 this page
pls tell him that the 3rd shape is very similar to the 1st one, so you wish to skip it, because time is important and repetitive tasks are for only for slaves & red tractors ( just kidding )
kindly
Code:
( this code hits only 2 out of those 3 shapes )
preparatory codes , defaults loaded, etc
fixture origin
tool origin or corection
G00 Z25 ( safe plane, with clearance over the fixture )
coolant
rpm gear sense
G00 X = s0.x Y = s0.y G41 F G95 (*3)
Z0
G01 X = a1.x Y = a1.y
G03 X = a2.x Y = a2.y R10
G02 X = a3.x Y = a3.y R15
G03 X = a4.x Y = a4.y R15
G01 X = a4.x-[5+4/2] G91 (*1)
G00 Z25 G40 G90
X = s1.x Y = s1.y G41 F G95 (*3)
G03 X = b0.x Y = b0.y R04.5
G01 X = b1.x Y = b1.y
G03 X = b2.x Y = b2.y R?
G01 X = b3.x Y = b3.y
G03 X = b4.x Y = b4.y R?
G01 X = b5.x Y = b5.y
G03 X = s2.x Y = s2.y R04.5
G01 X = s3.x Y = s3.y (*2)
G00 Z25 G40
(*1 : current position - clearance_5 - tool_dia/2 )
(*2 : auxiliary liniar movement, because it may be possible that )
(the control won't handle comp-out code=G40 after the G02 or G03 )
(*3 : comp started within the safe_plane )
check this code:
Code:
CALL OS01 ( shape 1 )
CALL OS02 ( shape 2 )
CALL OS01 + mirror on ( shape 3 )