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.
 

Returns eOk if successful or an appropriate error code in the other case.

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–2020. Open Design Alliance. All rights reserved.