X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fcreating_curve.doc;h=4c70ca156173d18ae412380f1f0f7f3646269705;hb=ef20f40494c9ede9394c4465ed565a5a30332611;hp=e442851bf0a90a2c32104692857185e69e3c3caa;hpb=239f8109c64fa0c5a2e1d87a420bad5529b57f48;p=modules%2Fgeom.git
diff --git a/doc/salome/gui/GEOM/input/creating_curve.doc b/doc/salome/gui/GEOM/input/creating_curve.doc
index e442851bf..4c70ca156 100644
--- a/doc/salome/gui/GEOM/input/creating_curve.doc
+++ b/doc/salome/gui/GEOM/input/creating_curve.doc
@@ -5,37 +5,100 @@
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
+There are three Curve Construction menu choices corresponding 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).
+The curve is defined by a list of \b Points through which it passes.
+
-\n TUI Commands:
+\n There are two ways to define these Points:
-- geompy.MakePolyline(ListOfShapes)
-- geompy.MakeBezier(ListOfShapes)
-- geompy.MakeInterpol(ListOfShapes)
+- By Selection manual picking of the points in the Object Browser or 3D Viewer.
+
- Analytical parametric definition of the points through
+python expressions.
-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.
-
-\image html curve.png
+\n The \b Result of each operation will be a GEOM_Object (edge).
-Examples:
+Polyline
\image html polyline.png
-Polyline
+
+Polyline or polygonal chain is a connected series of line segments. It
+can be defined by the following parameters:
+
+\image html curve2.png
+
+
+- Points at least 2 points which will serve as nodes on the curve.
+- Build a closed wire checkbox allows creating the curve as
+closed wire.
+
+
+\n TUI Command: geompy.MakePolyline(ListOfShapes,isClosed)
+
+Bezier
\image html bezier.png
-Bezier
+
+Bezier curve is a curve completely contained in a convex hull of its
+control points. It can be defined by the following parameters:
+
+
+\image html curve3.png
+
+
+- Points at least 2 points used to approximate the curve.
+- Build a closed edge checkbox allows creating the curve as
+closed edge.
+
+
+\n TUI Command: geompy.MakeBezier(ListOfShapes,isClosed)
+
+B-spline
\image html interpol.png
-B-Spline
+
+B-spline is a union of curve segments defined at each node span. It
+can be defined by the following parameters:
+
+\image html curve4.png
+
+
+- Points at least 2 points which will serve as nodes on the curve.
+- Build a closed edge checkbox allows creating the curve as
+closed edge.
+- If Reorder vertices taking into account distances is
+checked, the interpolation algorithm does not follow the order of
+vertices but searches for the closest vertex.
+- Tangents are two vectors, defining the direction at the ends of the
+curve. It is necessary to set both vectors or none. This option is available only
+if both above check boxes are not checked.
+
+
+
+\n TUI Command:
+
geompy.MakeInterpol(ListOfShapes,isClosed,doReordering)
+
geompy.MakeInterpolWithTangents(ListOfShapes,Vector1,Vector2)
+
+Analytical Definition
+
+The input parameters for analytical definition are common for all
+types of curves.
+
+\image html curve1.png
+
+
+- X(t)equation, Y(t)equation, Z(t)equation are python
+expressions for X, Y and Z coordinates of the basic points of the curve.
+- Min t, Max t are minimum and maximum values of the parameter \b t.
+- Step is the number of steps of the parameter \b t.
+
+
+\n TUI Command: geompy.MakeCurveParametric(XExpr, YExpt, ZExpt, tMin, tMax, nbSteps, curveType, True)
+
+\nAdvanced options \ref preview_anchor "Preview"
Our TUI Scripts provide you with useful examples of creation of
\ref tui_creation_curve "Basic Geometric Objects".
-*/
\ No newline at end of file
+*/