EmbroidePy / pyembroidery

pyembroidery library for reading and writing a variety of embroidery formats.
MIT License
195 stars 35 forks source link

PEC read does not properly order the elements. #3

Closed tatarize closed 6 years ago

tatarize commented 6 years ago

The correct methodology for PEC reading that the current move is flagged with move or trim. Which is contrary to the required pyembroidery ordering.

These commands are so often causing edge conditions that they might properly need to be split up into their actual required commands. Or provide extra methods that mean stitch_then_move or move_then_stitch. TRIM is read to be move to location then trim, but the trim will have already happened in PEC at that point. That or specify a per command required ordering.