Hello Guest it is June 17, 2019, 01:45:32 AM

Author Topic: Decimal precision.  (Read 4218 times)

0 Members and 1 Guest are viewing this topic.

Online Tweakie.CNC

*
  • *
  •  7,808 7,808
  • Super Kitty
    • View Profile
    • Tweakie.CNC
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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Hood

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

Hood

Online Tweakie.CNC

*
  • *
  •  7,808 7,808
  • Super Kitty
    • View Profile
    • Tweakie.CNC
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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Hood

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

Hood

Offline RICH

*
  • *
  •  7,337 7,337
    • View Profile
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

Online Tweakie.CNC

*
  • *
  •  7,808 7,808
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Decimal precision.
« Reply #5 on: August 22, 2012, 01:31:49 AM »
 ;D ;D ;D

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
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

Online Tweakie.CNC

*
  • *
  •  7,808 7,808
  • Super Kitty
    • View Profile
    • Tweakie.CNC
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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.