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

Exporting SVG not displaying dimensions #1760

Open
ezequielleonzybert opened this issue Apr 19, 2024 · 8 comments
Open

Exporting SVG not displaying dimensions #1760

ezequielleonzybert opened this issue Apr 19, 2024 · 8 comments

Comments

@ezequielleonzybert
Copy link

ezequielleonzybert commented Apr 19, 2024

LibreCAD_qzIHjerWqV.mp4

When exporting the project as SVG the dimensions are not displayed in the svg file.

Quick workaround is to explode all the dimensions so they become simple lines.

@ezequielleonzybert ezequielleonzybert closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
@dxli
Copy link
Member

dxli commented Apr 20, 2024

The SVG maker in LibreCAD was created for CNC purposes, instead of a generic SVG generator.

It's possible to create a generic SVG version with better support for dimensions and texts.

@ezequielleonzybert
Copy link
Author

The SVG maker in LibreCAD was created for CNC purposes, instead of a generic SVG generator.

It's possible to create a generic SVG version with better support for dimensions and texts.

One could simply hide the layers that don't want to send to the CNC machine.

@dongxuli-concord-design

Yes. I would pay more attention to preserving CNC support while adding new features. That means more development time, which is the actual limit here.

@ezequielleonzybert
Copy link
Author

ezequielleonzybert commented Apr 20, 2024

Yes. I would pay more attention to preserving CNC support while adding new features. That means more development time, which is the actual limit here.

Do you mean that previous svg exporter had the functionality of exporting dimensions and then they exclude that function in order of preserving CNC support?

Is this the code doing this?:

@dxli
Copy link
Member

dxli commented Apr 20, 2024

No.

I mean:

1, the current maker only considers entities needed for CNC;
2, SVG supports dimensions!
3, simply adding dimensions to the current maker is not desirable, for adding unwanted entities;
4, the proper way is to add a control to the current maker, or even in the form of a different maker with dimension, text, etc, support.

@dxli
Copy link
Member

dxli commented Apr 20, 2024

@ezequielleonzybert

Do you want to work on this one?

To expand SVG support is a great feature. Ideally, we can make svg a CAD format for LibreCAD.

@ezequielleonzybert
Copy link
Author

@ezequielleonzybert

Do you want to work on this one?

To expand SVG support is a great feature. Ideally, we can make svg a CAD format for LibreCAD.

I'd like to contribute. But I can see the project is already moving to version 3. Will this version become obsolete then?

@dongxuli-concord-design

Anything v2 can be ported to v3.

V3 is not actively being developed now.

I found v2 is still very useful, so I keep working on it.

We should also release another stable release for v2 soon.

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

3 participants