DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > Advanced Algorithms > IFeaturePrism_DG Search Documentation


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 shapeWorkpiece provided in the Init() call will be modified in place on a Perform() call.


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 shapeWorkpiece. The operation will be excuted on one of Perform*() calls.


void Add(IBRepEdge_DG edge, IBRepFace_DG faceAlong)


void Perform(double length)


void Perform1(IBRepShape_DG shapeUntil)


void Perform2(IBRepShape_DG shapeFrom, IBRepShape_DG shapeUntil)


void PerformUntilEnd()


void PerformFromEnd(IBRepShape_DG faceUntil)


void PerformThruAll()


void PerformUntilHeight(IBRepShape_DG shapeUntil, double length)