MarkWheadon / velocity-painting

#VelocityPainting: patterning 3D prints by modulating the print speed
Other
198 stars 31 forks source link

Slic3r fix and Perl improvements #8

Closed gwadej closed 7 years ago

gwadej commented 7 years ago

This PR fixes the line recognition code that was failing on slic3r vase-mode generated gcode files by allowing the Z coordinate to come first.

It also contains some changes to improve the perl code.

The final commit uses a perl 5.10 feature that reduces the long run of regular expression matches into a pair of expressions that should be easier to maintain.

If you would like me to break this PR into smaller pieces, let me know.