2D Shapes
Circle
Creates a circle of a specified radius.
//!OpenSCAD
//circle
circle(r=10);
Square
Creates a square or rectangle of specified dimensions x and y. Primitive may optionally be centered around the origin.
//!OpenSCAD
//square
square([10, 10], center=false);