You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking for a library to convert dxf floor plans to svg or pdf. Your project is the only one I've found that almost works and that does not cost a fortune.
Unfortunately, some of the converted files have artifacts like for example a big black ellipse or a big grey rectangle in it.
Any help appreciated.
The text was updated successfully, but these errors were encountered:
There are some inserts that are scaled and I think the line widths are multiplied by 1000 as the insert has a 1000x scale factor.
The exported SVG created by this lib just uses stroke-width="0.1%" which seems to work for most cases but not for these DXF files.
There is no proper support for line width as defined by the layers in this library, although I don't think that's the issue.
I'm not using this lib for work anymore so unfortunately I don't have the time/income to implement a proper solution and figure out the scaling issue. Happy to accept and test a pull request from someone who wants to add support.
Thanks. 🙂 It was easy to improve the result by just setting all the big scale factors in the dxf file to 1 before using your lib. Maybe I'll look for a better solution later but I'm not that good with Javascript.
I've been looking for a library to convert dxf floor plans to svg or pdf. Your project is the only one I've found that almost works and that does not cost a fortune.
Unfortunately, some of the converted files have artifacts like for example a big black ellipse or a big grey rectangle in it.
Any help appreciated.
The text was updated successfully, but these errors were encountered: