Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/geom.git] / doc / salome / gui / GEOM / input / creating_line.doc
1 /*!
2
3 \page create_line_page Line
4
5 To create a \b Line in the <b>Main Menu</b> select <b>New Entity - >Basic - > Line</b>
6
7
8 There are 2 algorithms to create a \b Line in the 3D space.
9 The Result of each operation will be a GEOM_Object (edge).
10
11 \n Firstly you can define a \b Line through \b Point1 and \b Point2,
12 which are the points through  which the \b Line passes.
13 \n <b>TUI Command:</b> <em>geompy.MakeLineTwoPnt(Point1, Point2)</em>
14 \n <b>Arguments:</b> Name + 2 vertices.
15
16 \image html line1.png
17
18 \n Secondly you can define a \b Line as intersection of  \b Plane1 and
19 \b Plane2.
20 \n <b>TUI Command:</b> <em>geompy.MakeLineTwoFaces(myFace1, myFace2)</em>
21 \n <b>Arguments:</b> Name + 2 faces.
22
23 \image html line2.png
24
25
26 <b>Example:</b>
27
28 \image html lines.png "Line defined through points"
29
30 \b NB! There is another way to create a line, which is currently
31 accessible only via \b TUI commands.
32
33 You can define a line  passing through the given \b Point and parallel
34 to the given \b Vector.
35 \n <b>TUI Command:</b> <em>geompy.MakeLine(Point, Vector)</em>
36
37 Our <b>TUI Scripts</b> provide you with useful examples of creation of
38 \ref tui_creation_line "Basic Geometric Objects".
39
40 */