]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/input/creating_curve.doc
Salome HOME
Fixed documentation
[modules/geom.git] / doc / salome / gui / GEOM / input / creating_curve.doc
1 /*!
2
3 \page create_curve_page Curve
4
5 To create a \b Curve in the <b>Main Menu</b> select <b>New Entity - >
6 Basic - > Curve</b>
7
8 \n There are three algorithms to create a \b Curve in the 3D space. Each
9 time you define it by a list of \b Points through which the curve
10 passes. The three <b>Curve Construction</b> menu choices correspond to three
11 possible types of curves: Polyline, Besier or B-spline (Interpolated).
12 \n The \b Result of each operation will be a GEOM_Object (edge).
13
14 \n <b>TUI Commands:</b>
15 <ul>
16 <li><em>geompy.MakePolyline(ListOfShapes,isClosed)</em></li>
17 <li><em>geompy.MakeBezier(ListOfShapes,isClosed)</em></li>
18 <li><em>geompy.MakeInterpol(ListOfShapes,isClosed,doReordering)</em></li>
19 </ul>
20 ListOfShape is a list of points through which the curve passes.
21 If isClosed is True, MakeBezier and MakeInterpol builds a closed edge,
22 MakePolyline builds a closed wire. If doReordering is True,
23 MakeInterpol does not follow the order of vertices but searches for the
24 closest vertex.
25
26 <b>Arguments:</b> Name + at least 2 points which will serve as nodes
27 on the curve.
28
29 \image html curve.png
30 \image html curve1.png
31 \image html curve2.png
32
33 <b>Examples:</b>
34
35 \image html polyline.png
36 <center>Polyline</center>
37
38 \image html bezier.png
39 <center>Bezier</center>
40
41 \image html interpol.png
42 <center>B-Spline</center>
43
44 Our <b>TUI Scripts</b> provide you with useful examples of creation of 
45 \ref tui_creation_curve "Basic Geometric Objects".
46
47 */