Christmas Tree / OpenSCAD pseudo Sweep

Sweeps are not supported in openSCAD, so this part was made by combining many small cylinders that are rotated and placed according to a parametric equation for the spiral. This project helped me figure out a way to create sweeps for any parametric equation. Future project improvement would allow the cylinders to bend along the path.

The gen_extrude file contains modules to extrude a cylinder that goes from one point to another, rotating the cylinder as necessary.

The resolution could be increased, but the time to generate the stl file will increase.