Mobile app version of vmapp.org
Login or Join
Berumen635

: Outset small rectangle path in Inkscape without round distortion? This post: InkscapeForum.com • View topic - problem with path outset seems to suggest that "squared joins" are to blame, but

@Berumen635

Posted in: #Inkscape

This post: InkscapeForum.com • View topic - problem with path outset seems to suggest that "squared joins" are to blame, but here is an example showing the problem regardless:

Draw a straight line (using the Pen tool) with two nodes; make it some 22 units long, and set its stroke width to 2 px:



Then, do Path/Stroke to Path; set the fill of the new shape to None, and the stroke to black, 1 px:



This should now be a rectangular path (with nodes), not a rectangle object.

Finally, duplicate this path, and with the duplicate selected, call Path / Outset; the result is this:



As you can see, the outset is not rectangular anymore, but it has some weird roundings (I've selected it with the node tool so its nodes are visible - those are weirdly positioned to begin with). You can also see I've used "sqared join" stroke style all the time.

So, what can I do, to get an inset/outset in a case like this, such that if the input is made of straight lines (rectangular) - the output is made of straight lines (rectangular) as well?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Berumen635

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murphy569

The inset/outset steps changes by 2.0 px (Inkscape preference default value) which is perfect while working for larger objects (not for the above example). When the same settings is used for small paths the outset & inset becomes distorted. To avoid this problem try decreasing the value in preferences-Steps-inset/outset by

Here's the same rectangle with outset applied,with inset/outset setting changed to 0.2px.

10% popularity Vote Up Vote Down


 

@Welton168

Have you tried Dynamic Offset?

This is what it did for me with Inkscape 0.91

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme