inkstitch / pyembroidery

libembroidery/EmbroideryFormats converted to python
MIT License
72 stars 28 forks source link

x/y position units not specified in README #29

Closed lexelby closed 6 years ago

lexelby commented 6 years ago

The readme makes no mention of what units x, y, dx and dy are specified in. From reading the code, I think it's tenths of a millimeter like libembroidery, but I'm not 100% certain.

tatarize commented 6 years ago

Yeah, literally all the five formats there has it 1/10 mm. Admittedly in PCS format it may actually be scaled by 5/3rds, and some other things like .plt within HPGL for generic XY plotters use 0.025mm . But, embroidery wise, The embroidery formats uses 1/10th pretty universally units at the core. I'll make it more overt in the documentation.