IBRepFeaturePrism_DG Interface
- Init
- Add
- Perform
- Perform1
- Perform2
- PerformUntilEnd
- PerformFromEnd
- PerformThruAll
- PerformUntilHeight
Describes functions to build prism features. These can be depressions or protrusions. The semantics of prism feature creation is based on the construction of shapes:
- Along a length
- Up to a limiting face
- From a limiting face to a height. The shape defining construction of the prism feature can be either the supporting edge or the concerned area of a face. In case of the supporting edge, this contour can be attached to a face of the basis shape by binding. When the contour is bound to this face, the information that the contour will slide on the face becomes available to the relevant class methods. In case of the concerned area of a face, you could, for example, cut it out and move it to a different height which will define the limiting face of a protrusion or depression.
The shape workpiece provided in the Init() call will be modified in place on a Perform() call.
Use IObjectGenerator_DG.Create("BRepFeaturePrism_DG") > IBRepFeaturePrism_DG query to construct the feature prism object.
void Init(IBRepGeometry_DG workpiece, IBRepShape_DG shapeBase, IBRepFace_DG sketchFace, Vect_DG offset, bool fuse)
Sets up building a prizm by extruding or protruding shapeBase on face sketchFace of workpiece. The operation will be excuted on one of Perform*() calls.
void Add(IBRepEdge_DG edge, IBRepFace_DG faceAlong)
void Perform(double length)
Builds a prizm of the specified length.
void Perform1(IBRepShape_DG shapeUntil)
Builds a prizm of the (variable) length up to face shapeUntil.
void Perform2(IBRepShape_DG shapeFrom, IBRepShape_DG shapeUntil)
Builds a prizm of the (variable) length from face shapeFrom to face shapeUntil.
void PerformUntilEnd()
void PerformFromEnd(IBRepShape_DG faceUntil)
void PerformThruAll()
void PerformUntilHeight(IBRepShape_DG shapeUntil, double length)
|