tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
295 stars 136 forks source link

Workaround for #41 #62

Open joelmatejka opened 4 years ago

joelmatejka commented 4 years ago

Instead of comparing float values with some imprecision (e.g. 12-0.9999.. > 11), convert the values to resulting strings for G-code with several decimal places and then back to numbers.