dwg2svg text information

Do you have a question you want to ask an existing QCAD user about QCAD and what you can do with it? Do you want to know if a particular feature exists? This is the place to ask.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
agedviking
Registered Member
Posts: 1
Joined: Thu Dec 01, 2022 2:50 pm

dwg2svg text information

Post by agedviking » Thu Dec 01, 2022 3:42 pm

hello everyone,

I am currently testing QCAD version 3.27 command line tool dwg2svg. I want to convert dwg files into svg vector graphics to display them in the browser. This works great.

However, I would like to be able to make adjustments to the svg. An example: the text which is also vectorized should be clickable. But after the conversion the text-path has no more information about the text it represents. Is there a possibility to set in the conversion that the text is taken over as an id attribute?

I am looking forward to an answer. Thanks

CVH
Premier Member
Posts: 3471
Joined: Wed Sep 27, 2017 4:17 pm

Re: dwg2svg text information

Post by CVH » Thu Dec 01, 2022 4:26 pm

agedviking wrote:
Thu Dec 01, 2022 3:42 pm
the text which is also vectorized should be clickable.
Hi,
Not sure, never used it, but have you tried all dwg2svg options?
https://www.ribbonsoft.com/en/products/ ... ls#dwg2svg

Thinking of -preserve-geometry or -no-text-transforms ...
Maybe the bridge is too wide, text options in QCAD are limited compared to SVG.

One can always file a feature request at bugtracker.

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9059
Joined: Fri Mar 30, 2007 6:07 am

Re: dwg2svg text information

Post by andrew » Thu Dec 01, 2022 6:05 pm

-preserve-geometry will give you text entities in the SVG output. The drawback is that the rendering is not guaranteed to be identical in SVG as it is in QCAD.

Post Reply

Return to “Pre-sales Questions”