3 \page add_point_on_edge_operation_page Add Point on Edge
5 \n To <b>Add Point on Edge</b> in the <b>Main Menu</b> select
6 <b>Repair - > Add Point on Edge</b>.
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.
13 \n The \b Result will be a \b GEOM_Object.
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.
25 \image html repair8.png
29 \image html image167.png "The initial edge"
31 \image html image168.png "The edge split in two segments"
33 Our <b>TUI Scripts</b> provide you with useful examples of the use of
34 \ref tui_add_point_on_edge "Repairing Operations".