OpenSCAD Parametric Star example
Generate an adjustable star polygon and extrude it into a 3D OpenSCAD part.
A point list alternates inner and outer radii, making the number of points and proportions easy to customize.
Click Run to render your model.