SmApiCreateDraftSweep#

Defined in SM_API/inc/SmApiBrep.h

SmApiStatus SmApiCreateDraftSweep(
const SmTArray<SmCurve*> &rCurvesToSweep,
double dHeight,
double dAngleDeg,
SmBoolean bCornerType,
int iCapEnds,
SmBrep *&rpResult,
)#
Parameters:
  • rCurvesToSweep – [in ]: Curves to sweep

  • dHeight – [in ]: Height of sweep or extrusion

  • dAngleDeg – [in ]: Draft Angle

  • bCornerType – [in ]: 0 = SM_OC_LINEAR_EXTENSION, 1 = SM_OC_FILLET_CORNER

  • iCapEnds – [in ]: 0 = none, 1 = at curves, 2 = at offset, 3 = both ends

  • rpResult – [out]: Resulting SmBrep