To create a Curve in the Main Menu select New Entity - > Basic - > Curve
There are three algorithms to create a Curve in the 3D space. Each time you define it by a list of Points through which the curve passes. The three Curve Construction menu choices correspond to three possible types of curves: Polyline, Besier or B-spline (Interpolated).
The Result of each operation will be a GEOM_Object (edge).
TUI Commands:
geompy.MakePolyline(ListOfShapes)
geompy.MakeBezier(ListOfShapes)
geompy.MakeInterpol(ListOfShapes)
ListOfShape is a list of points through which the curve passes.
Arguments: Name + at least 2 points which will serve as nodes on the curve.
Examples:
Polyline Bezier B-Spline
Our TUI Scripts provide you with useful examples of creation of Basic Geometric Objects.