em / gcanvas

CNC milling with HTML5 canvas
95 stars 19 forks source link

allow for inverted Z axis #9

Closed tmpvar closed 10 years ago

tmpvar commented 10 years ago

I've been using grbl with a bunch of gcode generators which all seem to assume that -Z is towards the work and +Z is where you retract to. This was mind boggling for me at first, and you can see my concerns in grbl/grbl#230

These changes should be backwards compatible with the previous behavior, but allows me to use gcanvas (nice work btw!)

em commented 10 years ago

Cool! Thanks for fixing tests while you were add it. At some point when I was using it to actually build things I got lazy and broke a bunch of them while making quick fixes. I'll find some time to get them all passing again soon.