EmbMatrix, EmbPattern, should have proper__repr__ code.
The EmbPattern() repr should use the stitch command constants rather than the number values.
EmbPattern *= EmbMatrix should transform the pattern by that matrix.
There may be some utility to be gained by porting in the Matrix code from svgelements to replace the EmbMatrix. It would make the matrix highly similar to Pillow's needed matrix code form and SVGs. And would get all the fancy code things I worked in there like using matrixible strings.
EmbPattern() should work, in part, as an interface bit of code for loading and saving filenames. (EmbPattern('my_embroidery.dst') * 'scale(2)').write('my_convertedembroidery.vp3')
With a proper *args, **kwargs erasure for EmbPattern the example write code:
__repr__
code.svgelements
to replace the EmbMatrix. It would make the matrix highly similar to Pillow's needed matrix code form and SVGs. And would get all the fancy code things I worked in there like using matrixible strings.(EmbPattern('my_embroidery.dst') * 'scale(2)').write('my_convertedembroidery.vp3')
With a proper
*args, **kwargs
erasure for EmbPattern the example write code:Could easily become.
None of this would need breaking changes.