Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: sawduststeve on March 14, 2011, 04:30:57 PM
-
I have Bobcad V21 and use is for the CAD and g-code creation parts. I am using the Mach3 post processor from Bobcad.
I have used their "automatic roughing" for couple years and was used to it. Bobcad requires you to make the total Z depth a negative number and then a positive number for the different cutting steps. The code then has the Z as negative steps. Following code is for a 0.75" depth cut at 0.25" steps.
G01Z-0.25 F10. [first cut depth]
G03Y0.6781I-0.1154J0.0481 F20.
X0.0146I-0.8654J-0.3606
Y0.5819I0.1154J-0.0481
X1.7454I0.8654J0.3606
G00Z0.25 [returns to safe]
G01Z-0.5 F10. [second cut depth]
G03Y0.6781I-0.1154J0.0481 F20.
X0.0146I-0.8654J-0.3606
Y0.5819I0.1154J-0.0481
X1.7454I0.8654J0.3606
G00Z0.25 [returns to safe]
G01Z-0.75 F10. [third cut depth]
G03Y0.6781I-0.1154J0.0481 F20.
X0.0146I-0.8654J-0.3606
Y0.5819I0.1154J-0.0481
X1.7454I0.8654J0.3606
G00Z0.25 [return to safe]
In my prior controller software there was an option to "invert z" direction for cutting when this was used.
Is there anything similar in Mach3?
Should I just remove the negative signs after it creates the g-code? [haven't tried that yet]
Is there a simple way in Mach3 of repeating code with a different Z?
Steve.
-
Hi Steve,
I am not sure why you should want to invert the code as machines are usually set up with +Z being away from the work and -Z being towards the work as your example code shows. Do you have your Z axis configured correctly ?
Mach does have a 'Multipass Wizard' which should do, more or less, exactly as your example code.
Tweakie.