0

It has been asked before for Adobe Illustrator:

Zigzag border for rectangles

Smooth parallel zigzag lines

Is there a way to generate a zigzag border or stroke for a rectangle in Inkscape?

1 Answer 1

1

Sure, try this.

  1. Create one curve with a stroke (with rounded endcaps), duplicate it, flip the duplicate vertically, move together using snapping to snap the two end nodes together.

  2. Join the two end nodes together by selecting them and using the Join Select Nodes button enter image description here (in the conrol bar along the top)

enter image description here

  1. Edit > Copy this joined path to the clipboard

  2. Draw a rectangle

  3. Add a Pattern Along a Path effect, hit the Link to Path in Clipboard button

  4. Choose the "Repeated, Stretched" option

  5. Pull the rounded rectangle control down a little to make the corners slightly rounded.

enter image description here

You can also adjust the width of the pattern using the control point shown here

enter image description here

Also, since the path an object are now linked in the Path Effect, you can also select and resize, squish or stretch it, and it will automatically apply the changes to the object with the Path Effect.

enter image description here

More complixity is also possible, here I'm using a combined path for a different effect

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.