[solved] How to make some parts of a line smaller or bigger?

Post questions on how to use or achieve an effect in Inkscape.
Techdraconis
Posts: 15
Joined: Fri Jun 23, 2017 11:19 pm

[solved] How to make some parts of a line smaller or bigger?

Postby Techdraconis » Sat Jul 22, 2017 3:27 am

How to make some parts of a line smaller or bigger?
For example the middle of this line.
Image

If I try with a the decreasing traingle, I don't get smooth or round ends.
Image

(sorry if this is really easy to find, I tried looking for it but I only find videos where they change the width of the whole line)

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: How to make some parts of a line smaller or bigger?

Postby theozh » Sat Jul 22, 2017 4:24 am

Hi @Techdraconics, the property stroke-width is always valid for the whole path.
So, if you need a thinner part in the middle you need to break the line into 3 pieces and set individual stroke-widths.
Or are you talking about a gradually thinner line in the middle?

Left: 3 paths with different strokes
Right: 2 paths in opposite direction with power stroke (triangle in). I am not sure if you can realize this in one single path.

ThinnerLine.png
ThinnerLine.png (19.07 KiB) Viewed 1932 times
Win7/64, Inkscape 0.92.2

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

Re: How to make some parts of a line smaller or bigger?

Postby Moini » Sat Jul 22, 2017 8:01 am

What about PowerStroke LPE and Pattern along path LPE? Those are meant for this type of thing.
Select path, then Path -> Path Effects ... -> + -> select 'Powerstroke'. Then edit the stroke width with the node tool on the canvas by dragging on the pink diamond-shaped handles. To add more of those handles, Ctrl+Click on one existing handle and drag on it (it duplicates).
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)

Techdraconis
Posts: 15
Joined: Fri Jun 23, 2017 11:19 pm

Re: How to make some parts of a line smaller or bigger?

Postby Techdraconis » Tue Jul 25, 2017 1:33 am

Thank you, the power stroke was what I needed.

conormcg
Posts: 16
Joined: Wed Jul 26, 2017 5:24 pm

Re: [solved] How to make some parts of a line smaller or bigger?

Postby conormcg » Tue Aug 01, 2017 8:11 pm

Awesome tutorial, thanks for this:)


Return to “Help with using Inkscape”