Discussed on IRC, jepler came up with
https://emergent.unpythonic.net/files/sandbox/0001-untested-work-around-1e-10-problem.patch

(if Glade ends up with a very small number it might display "0.0000"
but sent "1e-10" and then G-code says "unknown operator begining with
e")

Is that fix too clever? The parameters being substituted can only ever
be hal pin values.
The only numeric type in G-code is float.
So simply changing float() to the %f formatting method is probably a
universal fix?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to