To Check Free Boundaries in the Main Menu select Repair - > Check Free Boundaries.
This operation detects wires and edges that correspond to the shape's boundary, and highlights it
The Result will be a GEOM_Object.
TUI Command : (NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape), where Shape is a shape to be checked, NoError is false if an error occurred while checking free boundaries, ClosedWires is a list of closed free boundary wires, OpenWires is a list of open free boundary wires.
Example:
Our TUI Scripts provide you with useful examples of the use of Repairing Operations.