1
G-Code, CAD, and CAM discussions / G21 scale all with 25.4
« on: June 21, 2014, 06:36:38 AM »
Hi,
I have problem that if cambam add G21 to code it will cause mach3 to multiply all numbers with 25.4. If I remove that line then all works well and units are millimeters in file and mach3 but if there is G21 row it will multiply all units ~25.4. So it thinks that I have something in inch mode and it will try scale them to millimeters? What I need change that it will understand that all units are in millimeters in first place?
I have problem that if cambam add G21 to code it will cause mach3 to multiply all numbers with 25.4. If I remove that line then all works well and units are millimeters in file and mach3 but if there is G21 row it will multiply all units ~25.4. So it thinks that I have something in inch mode and it will try scale them to millimeters? What I need change that it will understand that all units are in millimeters in first place?