Close Contour

To produce a Close Contour operation in the Main Menu select Repair - > Close Contour.

 

This operation closes an open contour and modifies the underlying face (if needed) in accordance with user specified mode:

This operation is available in OCC Viewer only.

 

Result: GEOM_Object.

 

TUI Command: geompy.CloseContour(Shape, Wires, IsCommonVertex), where Shape is a shape to be processed, Wires is a list of edges or wires ID’s which has to be closed within the shape (if the list contains only one element = -1, the shape itself is considered as a wire),  IsCommonVertex if this parameter is True a closure has to be done by creation of a common vertex, otherwise an edge is added between the end vertices.

 

Arguments: Name + 1 shape + contour (Wire, or a set of Edges) + mode of closure (by vertex or by edge)

 

Dialog Box:

 

 

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