Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: show ruler with units at https://vagran.github.io/dxf-viewer-example/ #96

Open
velle opened this issue Jan 26, 2024 · 3 comments

Comments

@velle
Copy link

velle commented Jan 26, 2024

I am trying to export a simple SVG to DXF using Inkscape, but it seems that it does not preserve the units the way it should (or at least the way I expect it too, because I may have misunderstood how it works and should work). I need a reliable tool that can help me verify that the units in my DXF are correct, before I email this DXF file to the fabricator.

I have been looking for minimalistic, easy to install and use, open source tools for viewing a DXF and verifying the size, and I actually havent found one (yet). Your online viewer is the best I have found. And thanks :)

But to verify the size, your tool would still need a ruler of some kind. For me a solution as shown below would be sufficient.

image

Sincerely :)

@vagran
Copy link
Owner

vagran commented Jan 26, 2024

OK, I will think about it. Actually, this kind of feature is not for the library itself, but for applications built on top of it. Could do something like that in the online demo application, which, by the way, meant to be just a minimalistic example of the library API usage, not a feature-rich product.

@velle
Copy link
Author

velle commented Jan 27, 2024

I understand. And I agree that there should be a minimalistic example implementation. Perhaps two minimalistic examples then, one with a ruler and one without? The future could bring more examples. Just a humble suggestion.

Or perhaps there is another project/service out there, that builds on top of your project, and it makes more sense for me to go and use their example/service? The fact is, that I just havent found those minimalistic solutions elsewhere :/ :)

@vagran
Copy link
Owner

vagran commented Jan 27, 2024

I am not aware about other public services based on dxf-viewer. I know people use it a lot, but mostly in proprietary projects.
More examples are better, indeed. Anyone is free to make one. Also, as I said, I do not reject this feature request, I may consider implementing it one day, so it will be left open. However, currently there is much work pending in this project, so this is not so high priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants