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 other case.
Transforms the solid into a thin-walled solid shell by offsetting faces.
Offset can have an outside or inside direction related to the solid, depending on the sign of the offsetDistance parameter:
If a face has surfaces that cannot be offset by the thickness, it will be removed from the solid. Removal wound is healed with the surrounding face surfaces. Edges and vertices on the specified faces will be merged if possible. Isolated edges in tweaked faces and neighboring faces may degenerate to a point and will be removed. However, when removing loops or faces, insertion of edges or other topology changes are prohibited.
Operation can cause the solid to become invalid in some cases.
This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|