Shapes Module¶
The shapes module provides functionality for automatic generation of the most commonly used geometric shapes.
2D Curves¶

geomdl.shapes.curve2d.
full_circle
(radius=1)¶ Generates a NURBS full circle from 9 control points.
Parameters: radius (int, float) – radius of the circle Returns: a NURBS curve Return type: NURBS.Curve

geomdl.shapes.curve2d.
full_circle2
(radius=1)¶ Generates a NURBS full circle from 7 control points.
Parameters: radius (int, float) – radius of the circle Returns: a NURBS curve Return type: NURBS.Curve
Surfaces¶

geomdl.shapes.surface.
cylinder
(radius=1, height=1)¶ Generates a NURBS cylindrical surface.
The cylindrical surface example is kindly contributed by JohnEric Dufour.
Parameters:  radius (int, float) – radius of the cylinder
 height (int, float) – height of the cylinder
Returns: a NURBS surface
Return type: