PadLex / SvgToGcode

MIT License
46 stars 27 forks source link

selected unit is ignored by compiler #8

Closed nineff closed 3 years ago

nineff commented 3 years ago

The Compiler class' init method allows setting of a unit, and it raises an error if the provided unit is not allowed. However, the unit then never gets used and thus the corresponding G-codes G20 or G21 never appear in the output.