discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

G-code standard - Integers/rounding

M
MichaelAtOz
Tue, Dec 9, 2014 2:30 AM

I've been reading the The NIST RS274NGC Interpreter - Version 3  Manual
http://technisoftdirect.com/catalog/download/RS274NGC_3.pdf  . Yes I have
no life.

That is basically the G-code standard.

It says: "A decimal number which is supposed be close to an integer is
considered close enough if it is within 0.0001 of an integer."

Maybe that is enough of an excuse to round those 1e-13 numbers I see from
time to time.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/G-code-standard-Integers-rounding-tp10442.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've been reading the The NIST RS274NGC Interpreter - Version 3 Manual <http://technisoftdirect.com/catalog/download/RS274NGC_3.pdf> . Yes I have no life. That is basically the G-code standard. It says: "A decimal number which is supposed be close to an integer is considered close enough if it is within 0.0001 of an integer." Maybe that is enough of an excuse to round those 1e-13 numbers I see from time to time. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/G-code-standard-Integers-rounding-tp10442.html Sent from the OpenSCAD mailing list archive at Nabble.com.