"Convert to Dashes" does not work with an imported svg

Bug #1183473 reported by Julie Hall on 2013-05-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Wishlist
su_v

Bug Description

When I draw a template in Inkscape and use the "Convert to dashes" and save the file as a dxf, everything works great. I open the file in my other program (Silhouette Studio) and the lines are dashes.
When I import an SVG (this one was made in SCAL 3) and "convert to dashes", it says it did it, but when I save the file as a dxf and try to open it in Silhouette Studio, it has solid lines.
I have Inkscape 0.48.4 r9939 and Windows 7
I am assuming since it works fine with my inkscape svg that there is a bug when trying to work with a differnt svg

su_v (suv-lp) wrote :

> I have Inkscape .48 and Windows 7

Please provide more details about the Inkscape version (see Inkscape menu 'Help > About Inkscape') - there have been several bug-fix releases of Inkscape 0.48.

> When I import an SVG (this one was made in SCAL 3) and "convert to dashes"

Please attach a sample SVG file which exposes the reported issue to allow further investigation.

tags: added: extensions-plugins
Changed in inkscape:
status: New → Incomplete

The other # is r9939
Attached is the svg file from SCAL and the DXF file (Dashed lines were "Converted to Dashes") from Inkscape that won't open with dashes in Silhouette Studio
Please let me know if you need anything else
Thank you

________________________________
 From: ~suv <email address hidden>
To: <email address hidden>
Sent: Thursday, May 23, 2013 2:11 PM
Subject: [Bug 1183473] Re: "Convert to Dashes" does not work with an imported svg

>  I have Inkscape .48 and Windows 7

Please provide more details about the Inkscape version (see Inkscape
menu 'Help > About Inkscape') - there have been several bug-fix releases
of Inkscape 0.48.

> When I import an SVG (this one was made in SCAL 3) and "convert to
dashes"

Please attach a sample SVG file which exposes the reported issue to
allow further investigation.

** Tags added: extensions-plugins

** Changed in: inkscape
      Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1183473

Title:
  "Convert to Dashes" does not work with an imported svg

Status in Inkscape: A Vector Drawing Tool:
  Incomplete

Bug description:
  When I draw a template in Inkscape and use the "Convert to dashes" and save the file as a dxf, everything works great. I open the file in my other program (Silhouette Studio) and the lines are dashes.
  When I import an SVG (this one was made in SCAL 3) and "convert to dashes", it says it did it, but when I save the file as a dxf and try to open it in Silhouette Studio, it has solid lines.
  I have Inkscape .48 and Windows 7
  I am assuming since it works fine with my inkscape svg that there is a bug when trying to work with a differnt svg

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1183473/+subscriptions

su_v (suv-lp) on 2013-05-23
Changed in inkscape:
status: Incomplete → New
description: updated
Alvin Penner (apenner) wrote :

    The convert-to-dashes routine is, unfortunately, somewhat limited in scope. It will operate only on objects that are paths, not groups. In your diagram there are nested groups, so they are currently ignored. You will need to use the menu item Object->Ungroup to recover the original paths.
    For example the following procedure can be used:
- select main object
- note that the bottom status line says "Group of 3 objects"
- use the menu item Object->Ungroup
- note that the bottom status line says "3 objects of type Path, Group"
- use the menu item Object->Ungroup
- note that the bottom status line says "5 objects of type Path, Group"
- use the menu item Object->Ungroup
- note that the bottom status line says "5 objects of type Path"
- now that the Groups are gone, apply Extensions->Modify Path->Convert to Dashes
- at this point you will be able to tell that the routine has worked by selecting individual dashed lines and confirming that they consist of many nodes instead of just 2 as normal.

The resulting dxf file is attached, showing the dashed lines.

su_v (suv-lp) on 2014-01-26
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Triaged
su_v (suv-lp) wrote :

Minimal diff to recursively convert all paths within current selection.

Alvin Penner (apenner) wrote :

thanks for the patch, it appears to work perfectly as far as I can tell. I would suggest committing it.

su_v (suv-lp) wrote :

The repetition of the same error message for each object which is not a path IMvHO is not really helpful in the case of recursive conversion. The attached updated version of the patch instead keeps a list of objects not converted, and - if the list is not empty - prompts the user at the end with the total number and the list of IDs of the objects which had not been converted.

jazzynico (jazzynico) on 2016-05-23
Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
milestone: none → 0.92
status: Triaged → In Progress
jazzynico (jazzynico) wrote :

Fixed in the trunk, rev. 14911.
Thanks for the patch, ~suv!

Changed in inkscape:
status: In Progress → Fix Committed
assignee: jazzynico (jazzynico) → su_v (suv-lp)
su_v (suv-lp) wrote :

<opinion>
I probably should have removed the patches from this report when I still had the chance to do so ;-)

(Nowadays, I personally tend to only add explicit messages about skipped objects (i.e. non-actions) if there's a possibility to turn off such a verbose mode - while the message might be considered as 'user-friendly' by some, based on my personal experience they quickly get annoying with advanced or frequent usage.)
</opinion>

jazzynico (jazzynico) wrote :

@~suv, don't be so negative with yourself ;)
Do you want me to change something in the extension? Don't hesitate to suggest a change or to send a patch.

Bryce Harrington (bryce) on 2017-01-10
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers