43

Is there a way to extrude an object or shape along a path/curve, so you get a solid object? For example, a rectangle shape along a curve to get a long bendy sidewalk.

I feel this was in an older version of blender, but I can't find it now.

David
  • 49,291
  • 38
  • 159
  • 317
Kirbinator
  • 2,661
  • 1
  • 16
  • 24

2 Answers2

28

You can use an Array modifier combined with a Curve modifier:

enter image description here

The Merge option merges duplicate vertices so that the resulting object stays as one mesh.

enter image description here

Note that when using the Fit Curve option in the array modifier, you may have to apply the scale to ensure this works correctly (CtrlA> Scale).

lbalazscs
  • 3,599
  • 22
  • 24
gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
  • 1
    While this is very useful, and I'm likely going to do this to approximate what I need, I was more looking for something that works like 3DS-Max's Lathe, but in a line. E.G. A curve operating on another curve. – Kirbinator Sep 13 '13 at 14:26
  • The benefit of using modifiers to achieve this is that it's a non-destructive method: you can turn it on and off, change settings etc. while the original curves stay the same. – R. Navega Sep 21 '17 at 04:28
  • I like it. But it's pretty weird and buggy at points, especially with tight curves – Matt Fletcher Aug 22 '19 at 15:37
  • This method works in blender 2.9, whilst the other answer, unfortunately, does not - there is no more "Geometry" tab in object properties (unless I am missing something quite obvious). – shybovycha Oct 15 '21 at 02:15
  • @shybovycha, it's in the 'Object Data Properties' tab, not the 'Object Properties' tab. When using curves, the icon looks like a green curve with squares on its end points. The 'Geometry' section is in there. – Tynach Nov 26 '21 at 19:39
28

Bevelled curve

Use a bevel object in the curve properties > Geometry panel.

bevel object settings

You can use any curve to define the cross section of another curve. Make sure they are in separat objects because the object origin of the cross section curve will be extruded along the main curve. As you can see, you can put all kinds of independent curves into the Bevel Object

Haunt_House
  • 16,049
  • 5
  • 48
  • 78