Draft workbench, Dash-dot line export to SVG

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
razor49
Posts: 16
Joined: Sun Apr 27, 2014 10:46 am

Draft workbench, Dash-dot line export to SVG

Postby razor49 » Wed Jul 09, 2014 7:53 am

line.png
line.png (211.33 KiB) Viewed 1240 times
When I draw a dash-dot line using draft workbench, copy it to a drawing then export the drawing to SVG I get the result as in the image. Is there any way to improve the dash-dot export ie increase the dash length so that the SVG image would have a more realistic dash-dot line?
razor49
Posts: 16
Joined: Sun Apr 27, 2014 10:46 am

Re: Draft workbench, Dash-dot line export to SVG

Postby razor49 » Wed Jul 09, 2014 8:02 am

BTW I can edit the line in Inkscape and change the stroke style to 'Dash-Dot; then it looks correct.It is possible that the dash-dot text in the svg xml is not what Inkscape is expecting.
User avatar
yorik
Site Admin
Posts: 11574
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Draft workbench, Dash-dot line export to SVG

Postby yorik » Wed Jul 09, 2014 3:04 pm

hm yes indeed at the moment the dash-dot pattern is crudely hard-coded to some value that worked for me... Indeed it's probable that it doens't work nicely for other people. I think the best course of action would be to add a preference setting so the user can customize the pattern... Can I ask you to make a feature request on http://www.freecadweb.org/tracker/ ? Otherwise I will probably forget about this... Thanks!