Standard topological objects
Allows you to create standard topological objects such as:
- Vertices
- Edges
- Faces
- Wires
- Polygonal wires
- Shells
- Solids.
The API provides classes to build objects:
- The constructors of classes provide different construction methods;
- The class retains different tools used to build objects as fields;
- The class provides a casting method to obtain the result automatically with a function-like call.
For example, to build a vertex V on a point P, you can use:
V = BRepBuilderAPI_MakeVertex(P);
or
BRepBuilderAPI_MakeVertex MV(P);
V = MV.Vertex();
For error handling, the BRepBuilderAPI commands raise only the StdFail_NotDone exception. When IsDone is false for a command, the error description can be requested from the command.