# Add Point on Edge

To Add Point on Edge in the Main Menu select Repair - > Add Point on Edge.

This operation splits an edge in two in accordance with the specified mode (by length or by parameter) and a value specifying the position of the point on edge (for example val =0.5; mode = Length). This operation is available in OCC Viewer only.

The Result will be a GEOM_Object.

TUI Command : geompy.DivideEdge(Shape, EdgeID, Value, IsByParameter), where Shape is a shape which contains an edge to be divided, EdgeID is the ID of the edge to be divided, if it = -1, then Shape is an edge, Value is a paramter on the edge or a length. IsByParameter if it is True then Value is the edge parameter in the range [0:1] otherwise it is a length of the edge in the range [0:1]

Arguments: Name + 1 Edge + 1 value setting the position of the point according to one of the selected modes

Example:

Our TUI Scripts provide you with useful examples of the use of Repairing Operations.