Construction of Primitives Overview
The BRepPrimAPI package provides an API (Application Programming Interface) for:
Construction of primitives such as:
Boxes
Cones
Cylinders
Prisms
Construction by sweeping along a profile:
Linear
Rotational (through an angle of rotation).
Sweeps are objects you obtain by sweeping a profile along a path. The profile can be any topology and the path is usually a curve or a wire. The profile generates objects according to the following rules:
Vertices generate Edges
Edges generate Faces.
Wires generate Shells.
Faces generate Solids.
Shells generate Composite Solids.
You are not allowed to sweep Solids and Composite Solids.
Swept constructions along complex profiles such as BSpline curves are also available in the BRepOffsetAPI package.
This API provides simple, high level calls for the most common operations.