Hello Guest it is October 09, 2024, 10:30:13 PM

Author Topic: Decimal precision.  (Read 5926 times)

0 Members and 1 Guest are viewing this topic.

Offline Tweakie.CNC

*
  • *
  •  9,235 9,235
  • Super Kitty
Decimal precision.
« 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.
PEACE

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Decimal precision.
« Reply #1 on: August 21, 2012, 10:46:21 AM »
Ok I wont :)

Hood

Offline Tweakie.CNC

*
  • *
  •  9,235 9,235
  • Super Kitty
Re: Decimal precision.
« Reply #2 on: August 21, 2012, 12:15:55 PM »
Ah woods nae hae tauld ye anyway.  ;D ;D

Tweakie the sassenach.
PEACE

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Decimal precision.
« Reply #3 on: August 21, 2012, 03:13:19 PM »
I can tell by the accent :)

Hood

Offline RICH

*
  • *
  •  7,427 7,427
Re: Decimal precision.
« Reply #4 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

Offline Tweakie.CNC

*
  • *
  •  9,235 9,235
  • Super Kitty
Re: Decimal precision.
« Reply #5 on: August 22, 2012, 01:31:49 AM »
 ;D ;D ;D

Tweakie.
PEACE
Re: Decimal precision.
« Reply #6 on: September 01, 2012, 04:21:27 AM »
Hey Tweakie,

Just drop the last decimal place to the right.

;=)

Larry
Re: Decimal precision.
« Reply #7 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

Offline Tweakie.CNC

*
  • *
  •  9,235 9,235
  • Super Kitty
Re: Decimal precision.
« Reply #8 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.
PEACE