nophead / Mendel90

A RepRap Mendel variant using sheets for the frame instead of rods
http://hydraraptor.blogspot.com/2011/12/mendel90.html
261 stars 248 forks source link

c14n_stl: Also convert "-0" to "0" #70

Closed im-0 closed 5 years ago

im-0 commented 5 years ago

While trying to use c14n_stl.py to build my own OpenSCAD objects in a reproducible way, I found that OpenSCAD sometimes randomly uses minus zeros. With this patch, c14n_stl.py is able to fix that.

I hope this will not break anything...

nophead commented 5 years ago

Thanks. I hadn't noticed it myself but it makes sense.