'OpenScad - extrude and bend projection

I have a projection that I'd like to extrude and bend, following a series of steps like: extrude 10mm, bend 30 deg, extrude 20mm, etc. Each extrusion must be perpendicular to the plane resulting the previous bend.

Is there a way to do it with OpenSCAD?



Solution 1:[1]

OpenSCAD provides linear and rotational extrusion. You can use rotate extrude to create a bend. You will need to do a series of linear and rotational extrusions and combine them.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 FractalLotus