Salome HOME
f16624bbd6e840c74b73a723740661f7e9183e4e
[modules/geom.git] / doc / salome / gui / GEOM / input / add_point_on_edge_operation.doc
1 /*!
2
3 \page add_point_on_edge_operation_page Add Point on Edge
4
5 \n To <b>Add Point on Edge</b> in the <b>Main Menu</b> select
6 <b>Repair - > Add Point on Edge</b>.
7
8 \n This operation splits an edge in two in accordance with the
9 specified mode (by length or by parameter) and a value specifying the
10 position of the point on edge (for example val =0.5; mode =
11 Length). This operation is available in <b>OCC Viewer</b> only.
12
13 \n The \b Result will be a \b GEOM_Object.
14
15 \n <b>TUI Command:</b> <em>geompy.DivideEdge(Shape, EdgeID, Value,
16 IsByParameter), </em> where \em Shape is a shape which contains an edge to
17 be divided, \em EdgeID is the ID of the edge to be divided, if it = -1,
18 then Shape is an edge, \em Value is a paramter on the edge or a
19 length. \em IsByParameter if it is True then Value is the edge parameter
20 in the range [0:1] otherwise it is a part of the length of the edge in the range
21 [0: full length of the edge]
22 \n <b>Arguments:</b> Name + 1 Edge + 1 value setting the position of
23 the point according to one of the selected modes.
24
25 \image html repair8.png
26
27 \n <b>Example:</b>
28
29 \image html image167.jpg "The initial edge"
30
31 \image html image168.jpg "The edge split in two segments" 
32
33 Our <b>TUI Scripts</b> provide you with useful examples of the use of 
34 \ref tui_add_point_on_edge "Repairing Operations".
35
36 */