Get dimensions and origin of a DXF file #1234
Unanswered
renan-almeida-isi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm reading a DXF file and extracting the position of some text from it. When I measure it in CAD viewer software, the extracted text position is slightly inaccurate. Moreover, when I try to mark this position in an outputted SVG, the discrepancy becomes significant. I suspect that the origin of the DXF file might not be at (0,0) or that the SVG dimensions are incorrect. How can I accurately extract this information from the original file? I tried setting the dimensions in the Page class to 0, but it generated an excessively small SVG.
Beta Was this translation helpful? Give feedback.
All reactions