14

I'm using inkscape and I am trying to create an structure like the one below, but all I manage to make is a disformed object.

enter image description here

I tried using a rectangle and combine with circles, but the best I got was this:

enter image description here

1
  • I'd make a curved stroke, then convert the stroke to paths.
    – DA01
    Commented Mar 28, 2014 at 20:02

3 Answers 3

14

To deform a rectangle we need to convert it to a path first.

  1. Draw and select rectangle.

  2. Choose Path > Object to Path.

  3. Choose the Edit Path by Nodes tool enter image description here (or F2)

  4. Select the corner nodes of the rectangle's top line

    enter image description here

  5. Make the selected line a curve by pressing enter image description here

  6. Push/Pull the curve handle until happy

  7. Repeat step 4. to 6. for the bottom line.

    enter image description here

  8. Add stroke color, fill color, effects

    enter image description here

  9. For more waves add nodes to a selected line enter image description here

1
  • Thanks for the great tutorial, but for some reason I couldn't execute the step 5. I ended up using the DA01 suggestion. But thank you any way!
    – user180065
    Commented Apr 1, 2014 at 1:02
7

I think the best way is to use Pattern Along Path under menu Path -> Path Effect Editor.

In this way it's easier to edit. :)

Here's the steps:

  1. Create a rectangle that looks like the one you want to deform
  2. Convert it to Path (menu Path => Object to Path)
  3. Copy it into the clipboard
  4. Create a bezier curve of the deformation
  5. Select the bezier curve and go to Path -> Path Effect Editor
  6. Select Pattern Along Path and click Add
  7. Click on the paste icon (Check the screenshot)

Deformed Rectangle Patter Along Path

3

Just documenting the solution in the comments raised by DA01

Draw a path:

enter image description here

In the Stroke Style tab of the Fill and Stroke dialog set the stroke width to super thick (I set mine to 65.000)

enter image description here

Now if you want this as a shape (rather than a super thick line), just select the line, and go to Path > Stroke to Path:

enter image description here

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.