My g-code when I read it in text has line 10 G20 but when I push play the units switch from mm to inches. Is there a way to move step by step through the code to see how I’m messing up? Here’s the code, The z axis needless to say hits the stops.
;Exported by FreeCAD
;Post Processor: centroid_post
;CAM file: /home/erik/CAD Files/Side Chair/Chair Back.FCStd
;Output Time: 2021-01-29 11:32:10.117371
G90 G80 G40 G49
;T1=T1__Default_tool
;begin preamble
G53 G00 G17
G20
;begin operation
;T1: Default tool
M6 T1
M3 S0
;end operation: T1: Default tool
;begin operation
G0 Z23.0000