plottertools / vpype-gcode

gcode extension for vpype
MIT License
35 stars 7 forks source link

Ensure gwrite processes/outputs layers in the same order that vpype does #33

Closed ilevantis closed 1 year ago

ilevantis commented 1 year ago

I was making a vpype script that added in a brush dipping layer between each input SVG layer. However when using gwrite to output to gcode the order of the layers was not as expected (i.e. in order of the vpype layer IDs).

This tiny change fixes that, so layers are now processed in ascending order of the vpype layer IDs.

abey79 commented 1 year ago

Good call, thanks!