Widen Stroke Without Affecting Outside Edges

Post questions on how to use or achieve an effect in Inkscape.
ShadowRoyale
Posts: 22
Joined: Fri Feb 10, 2012 5:25 am

Widen Stroke Without Affecting Outside Edges

Postby ShadowRoyale » Sun Feb 12, 2012 8:28 pm

In other words, I want the Stroke to widen inwards and the outside edges of the object to remain unaffected.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Widen Stroke Without Affecting Outside Edges

Postby brynn » Sun Feb 12, 2012 9:28 pm

Unfortunately, that's not possible yet. It's a much-requested new feature though, that's for sure! For some reason I'm thinking it's going to be available in 0.49, but I can't remember where I've read that. And I might have it confused with some other feature. But it's definitely "on the drawingboard" :D

I don't know exactly what your situation is. But there are 2 kinds of bounding boxes in Inkscape (the dotted lines which indicate the selection). It can be either a Visual bounding box, which is the default, and includes the stroke width in the dimension measurements; or it can be a Geometric bounding box, which is only the bare path, without stroke added into measurement. It's in Inkscape Preferences > Tools. There are some situations where it's useful to switch to geometric bb.

Without knowing more about what you're doing, I don't know if it would be useful in this case. But I just thought I'd mention it :D

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: Widen Stroke Without Affecting Outside Edges

Postby llogg » Sun Feb 12, 2012 10:03 pm

There is a work around however.
1. Apply the stroke that gives the outside edge you want.
2. Duplicate your object.
3. Apply a stroke to the duplicate that is twice what you want the "internal" extension of the stroke width to be.
4. Select the original object and bring it to the top, aligned directly above the duplicate with the thick stroke.
5. Select the original and the duplicate with the thick stroke and do Object>Clip>Set.
insidestrokeext.png
insidestrokeext.png (36.76 KiB) Viewed 1502 times

A bit of a kludge, but it should do what you want.


Return to “Help with using Inkscape”