tarikjabiri / js-dxf

JavaScript DXF writer
MIT License
175 stars 74 forks source link

Units are always inches. need support for mm. #15

Closed kannanlink3d closed 4 years ago

kannanlink3d commented 4 years ago

there should be option to save file in desired units. Currently it always saves in inches.

ognjen-petrovic commented 4 years ago

Yes, that would be nice feature. Will investigate. If you have an idea how to do that, please do and make PR.

ognjen-petrovic commented 4 years ago

I have added unit support. Checkout "units" branch. Check circle and line examples. Available units find in Drawing.js, search for Drawing.UNITS. I checked in LibreCad and DraftSight.

kannanlink3d commented 4 years ago

Thanks for adding the units.