Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Tweakie.CNC on August 21, 2012, 07:38:47 AM

Title: Decimal precision.
Post by: Tweakie.CNC on August 21, 2012, 07:38:47 AM
Does anyone have any ideas on how I can convert an existing GCode file which has 4 places of decimal precision to a similar file with just 3 places of precision please ??

It doesn't have to do anything fancy such as rounding, I would be happy to just loose the 4th decimal place.

Don't ask why  ;D ;D

Tweakie.
Title: Re: Decimal precision.
Post by: Hood on August 21, 2012, 10:46:21 AM
Ok I wont :)

Hood
Title: Re: Decimal precision.
Post by: Tweakie.CNC on August 21, 2012, 12:15:55 PM
Ah woods nae hae tauld ye anyway.  ;D ;D

Tweakie the sassenach.
Title: Re: Decimal precision.
Post by: Hood on August 21, 2012, 03:13:19 PM
I can tell by the accent :)

Hood
Title: Re: Decimal precision.
Post by: RICH on August 21, 2012, 03:22:57 PM
May run into problems by dropping the 4 th place.
Don't ask why ;D  :)   ;D

RICH
Title: Re: Decimal precision.
Post by: Tweakie.CNC on August 22, 2012, 01:31:49 AM
 ;D ;D ;D

Tweakie.
Title: Re: Decimal precision.
Post by: LarryL on September 01, 2012, 04:21:27 AM
Hey Tweakie,

Just drop the last decimal place to the right.

;=)

Larry
Title: Re: Decimal precision.
Post by: LarryL on September 01, 2012, 04:22:18 AM
Hey Tweakie,

Is it possible to set the scale of an axis from the Gcode pattern?


Larry
Title: Re: Decimal precision.
Post by: Tweakie.CNC on September 01, 2012, 04:33:23 AM
Thanks for your suggestion Larry.

I did actually resolve the issue by an extremely convolute process of recreating the .dxf from the GCode then recreating the toolpath to 3 decimal places.

There must be software, similar to Graham's Metric to Inch to Metric converter, which could do this task in a fraction of the time but I was unable to find anything suitable. Still, problem resolved now thanks again.  ;)

Tweakie.