Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::extrude Method
Syntax
C++
virtual OdResult extrude(const OdDbRegion* pRegion, double height, double taperAngle, bool isSolid = true) = 0;

Creates a solid by extruding the specified region. 

 

Parameters
Description
pRegion
[in] Pointer to the region to be extruded.
height
[in] Height of the extrusion.
taperAngle
[in] Taper angle.
isSolid
[in] Boolean flag that indicates that this ModelerGeometry object is solid.

The extrusion direction is along the normal of the region. Height can be negative. 

All angles are expressed in radians. 

The following constraints apply:

  • |height| >= 1e-6
  • |taperAngle| < OdaPI2 - 1e-6
Copyright © 2002-2022. Open Design Alliance All rights reserved.