Mobile app version of vmapp.org
Login or Join
Jamie315

: How to split a dashed line into separate elements in Inkscape I have a dashed line in Inkscape. I want to change this so each dash is a separate object. How do I do that? The operation

@Jamie315

Posted in: #HowTo #Inkscape

I have a dashed line in Inkscape. I want to change this so each dash is a separate object. How do I do that? The operation is similar to this one in Adobe Illustrator. I'm trying to do the same thing with Inkscape.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jamie315

2 Comments

Sorted by latest first Latest Oldest Best

 

@Angela777

Inkscape also includes an extension which converts dash patterns into sub-paths:


Extensions > Modify Path > Convert to Dashes


These sub-paths can then be split into individual paths with Path > Break apart if needed.

The advantage over Stroke to Path and Break apart: it does not outline the stroke - the geometry of the (sub-)paths is still defined by their center-line.

10% popularity Vote Up Vote Down


 

@Gretchen549

There are two ways I can think to do this:


Convert the stroke to a path and then break it apart.
Create a duplicate path and use it to cut up another


Converting stroke to path


Select the path.
On the Path menu, click Stroke to Path
With the path still selected, on the Path menu, click Break Apart


This will essentially create small rectangles rather than signular 2-node paths.

Using a path to cut another

If you need two-node paths, do the following.


Select the path.
Change the path to solid stroke (not dashes)
On the Edit menu, click Duplicate.
This will create a duplicate path on top of the existing path.
Select the top path only
Change the stroke to dashes
With the top path still selected, on the Path menu, click Stroke to Path
Select both paths.
On the Path menu, click Cut Path.


You will now have one path, but you'll have nodes where the dashes were. You'll need to use the Node Tool F2to individually select and delete segments between nodes to create the dashes.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme