jonathanwin / yagv

A fast 3D Gcode Viewer for Reprap-style 3D printers, in Python and OpenGL
75 stars 48 forks source link

G91 (Set to Relative Positioning) unsupported #1

Closed leemes closed 11 years ago

leemes commented 11 years ago

Relative positioning is used by some slicers. Adding support for this command shouldn't be that complex. I want to contribute by adding this feature as I need it and I love the design of yagv.

jonathanwin commented 11 years ago

Your contribution would be most welcome :) Should be fully implementable inside of gcodeParser.py (see parse_G91, do_G1, a new do_G91 would be required)

Thanks!

jonathanwin commented 11 years ago

I've merged your changes into master, after testing against some files with relative positioning that I had. Thanks for your help!