/*!
\page create_curve_page Curve
To create a \b Curve in the Main Menu select New Entity - >
Basic - > Curve
\n There are three algorithms to create a \b Curve in the 3D space. Each
time you define it by a list of \b 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).
\n The \b Result of each operation will be a GEOM_Object (edge).
\n There are two ways to define Points:
- By Selection choice of the points manually in the Object Browser or 3D Viewer.
- Analitical parametric definition of the points through python expressions.
\n TUI Commands:
- geompy.MakePolyline(ListOfShapes,isClosed)
- geompy.MakeBezier(ListOfShapes,isClosed)
- geompy.MakeInterpol(ListOfShapes,isClosed,doReordering)
- geompy.MakeCurveParametric(XExpr, YExpt, ZExpt, tMin, tMax, tStep, curveType)
ListOfShape is a list of points through which the curve passes.
If isClosed is True, MakeBezier and MakeInterpol builds a closed edge,
MakePolyline builds a closed wire. If doReordering is True,
MakeInterpol does not follow the order of vertices but searches for the
closest vertex.
\n XExpr, YExpr, ZExpr python expressions for the X, Y and Z coordinates of the basic points of the curve.
\n tMin, tMax minimum and maximun values of the parameter \b t.
\n tStep step of the parameter \b t
\n curveType type of the curve Polyline, Bezier or Interpolation.
Arguments:
- Name + at least 2 points which will serve as nodes on the curve, or
- Name + 3 string + 3 values (python expressions for the X, Y and Z coordinates, minimum,
maximum and step values of the parameter)
\nAdvanced options \ref preview_anchor "Preview"
\image html curve.png
\image html curve1.png
\image html curve2.png
Examples:
\image html polyline.png
Polyline
\image html bezier.png
Bezier
\image html interpol.png
B-Spline
Our TUI Scripts provide you with useful examples of creation of
\ref tui_creation_curve "Basic Geometric Objects".
*/