Convert Dotted Stroke to Fill in Inkscape

Post questions on how to use or achieve an effect in Inkscape.
User avatar
mikethedj4
Posts: 7
Joined: Sun Dec 01, 2013 6:56 pm
Location: Rockford, IL
Contact:

Convert Dotted Stroke to Fill in Inkscape

Postby mikethedj4 » Fri Apr 20, 2018 2:20 pm

layoutandcomposition.png
layoutandcomposition.png (81.35 KiB) Viewed 1645 times

I tried Path > Stroke to Path but it just fills the whole rectangle instead of converting my dotted stroke into filled dots.

Is there any way in Inkscape to easily convert my dotted stroke to a fill?

If not is there an alternative application that does such which is free?

The SVG file's code is located here.
https://codeshare.io/aypQBe
Last edited by mikethedj4 on Sat Apr 21, 2018 1:47 am, edited 1 time in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Convert Dotted Stroke to Fill in Inkscape

Postby Lazur » Fri Apr 20, 2018 3:40 pm

Hi.

The dots are a result of the stroke having a dasharray -so it won't convert to a path as per se.
You can create a raster copy (Alt+B) and trace bitmap the result.

Or you can also try a development version compiled by Jabiertxof to test a dashed line path effect here. Once path effect added, convert it to a path and it is probably good to go.

User avatar
mikethedj4
Posts: 7
Joined: Sun Dec 01, 2013 6:56 pm
Location: Rockford, IL
Contact:

Re: Convert Dotted Stroke to Fill in Inkscape

Postby mikethedj4 » Fri Apr 20, 2018 4:19 pm

I was hoping that wouldn't be the case.

In Affinity Designer, I can just go to Layer > Expand Stroke and it does the magic for me but I need a free solution.

So just so I understand, currently there's no way built-in. I would need to export it as an image (preferably 2 colors) and then convert the raster to a vector just to get the path's dashed border to be filled. Correct?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Convert Dotted Stroke to Fill in Inkscape

Postby Moini » Fri Apr 20, 2018 9:30 pm

???? Works for me. They converted to path in Inkscape 0.91 and they still do in Inkscape 0.92.3.
If they don't, it's a bug.

Can you please share the SVG file?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Convert Dotted Stroke to Fill in Inkscape

Postby Moini » Fri Apr 20, 2018 9:31 pm

(maybe there's a path effect applied to your object?... They can cause problems...)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Convert Dotted Stroke to Fill in Inkscape

Postby tylerdurden » Fri Apr 20, 2018 9:58 pm

Seems to work here... is this the desired result?

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
mikethedj4
Posts: 7
Joined: Sun Dec 01, 2013 6:56 pm
Location: Rockford, IL
Contact:

Re: Convert Dotted Stroke to Fill in Inkscape

Postby mikethedj4 » Sat Apr 21, 2018 1:47 am

So the problem was relative towards how my SVG was coded. The border was a custom border rather than dotted or dashed which Inkscape didn't understand. With a little Inkscape tweaking, it worked by using Path > Stroke To Path


Return to “Help with using Inkscape”