How to extrude along curved path?
1st create a simple object and apply Scale with Ctrl+A.
Now goto the &quot;Modifier Tab&quot; and add &quot;Array Modifier&quot; and put X and Y to 0 and Z to something like 5 and don't apply it now.



2nd add a bezier curve and shape it the way you want it.

Now, select the cube object and again go to modifiers Tab and add &quot;Curve Modifier&quot; and select the created curve. Then you'll have something like this.

You can increase the number in &quot;Array Modifier&quot; and just align it with the curve.
Remember that. Array Modifier should be at the 1st place and followed by curve modifier.