API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::shellBody Method
OdModelerGeometry::shellBody Method
Syntax
C++
virtual OdResult shellBody(const OdArray<OdDbSubentId *> & faceSubentIds, double offsetDistance) = 0;
Parameters 
Description 
const OdArray<OdDbSubentId *> & faceSubentIds 
[in] Array of faces' subentity IDs. Faces with specified IDs will be removed from the shell.  
double offsetDistance 
[in] Offset distance for each face.
 

eOk if successful or an appropriate error code otherwise.

Transforms this ModelerGeometry object into a thin-walled ModelerGeometry object shell by offsetting faces. 

 

Offset can have an outside or inside direction related to the ModelerGeometry object, depending on the sign of the offsetDistance parameter:

  • Positive value means outside direction.
  • Negative value means inside direction.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.