Back to Freecad

FreeCAD Path Workbench GCode documentation

src/Mod/CAM/GCode-description.md

1.1.13.6 KB
Original Source

FreeCAD Path Workbench GCode documentation

This is a documentation of all GCodes used by the FreeCAD Path Workbench

CommandDescriptionSupported parameters
G0, G00Rapid moveX,Y,Z,A,B,C
G1, G01Normal interpolated moveX,Y,Z,A,B,C
G2, G02Clockwise arcX,Y,Z,A,B,C,I,J,K
G3, G03Counterclockwise arcX,Y,Z,A,B,C,I,J,K
G40Turn off tool radius compensationRadius compensation is done in FreeCAD
G41Tool radius compensation valueRadius compensation is done in FreeCAD
G42Tool radius compensation valueRadius compensation is done in FreeCAD
G43Tool length offset
G44Tool length offset
G53Machine coordinate system fixture???
G54Scratchpad coordinate system fixture???
G55 - G59.9Machine specific work offset fixtures relative to homing switches???
G73Machine specific drill operationX,Y,Z,R,Q
G81Machine specific drill operationX,Y,Z,R,Q
G82Machine specific drill operationX,Y,Z,R,Q
G83Machine specific drill operationX,Y,Z,R,Q
G90Absolute coordinates
G91Relative coordinates
G98Return to initial Z level in canned cycle
G99Return to R level in canned cycle
M0, M00Compulsory stop
M1, M01Optional stop
M3, M03Spindle on (clockwise rotation)S<rounds per minute>
M4, M04Spindle on (counterclockwise rotation)S<rounds per minute>
M6, M06Tool changeT<tool number>
(<String>)comment