Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: magicniner on May 05, 2013, 07:30:58 PM

Title: BobCad/Cam setting incorrect measurement units in Gcode
Post by: magicniner on May 05, 2013, 07:30:58 PM
I've been having grief all evening with scaling and Mach3 reporting moves exceeding soft limits.
After pulling my hair out for a while I found that Mach3 mysteriously changed to inches every time I loaded the G-code.
Using an online G-Code reference to find the "Units" codes and then checking the output from BobCad/Cam revealed the G20 inch command.
With G20 edited to G21 the code runs great.

Units are set to mm in both Settings - Part and Settings - Default in BobCad/Cam V25, it's using the Mach3 no ATC post and units are set to mm in Mach3
Have I missed something?
Title: Re: BobCad/Cam setting incorrect measurement units in Gcode
Post by: budman68 on May 06, 2013, 05:08:23 AM
I have no experience with this software, but this fella seems to:

http://www.machsupport.com/forum/index.php/topic,21342.0.html

Dave
Title: Re: BobCad/Cam setting incorrect measurement units in Gcode
Post by: magicniner on May 08, 2013, 04:25:36 AM
It seems it's hard coded in the Post rather than passed across from CAM to Code, I can live with editing one character until I find which bit of the post to edit to make a permanent change,
I'll get there,
Nick