Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::extrudeAlongPath Method
Syntax
C++
virtual OdResult extrudeAlongPath(const OdDbRegion* region, const OdDbCurve* path, double taperAngle = 0.0, bool isSolid = true) = 0;

Creates a ModelerGeometry object by extruding a region along a path curve. 

 

Parameters
Description
region
[in] Pointer to a region object for extruding from.
path
[in] Pointer to a curve object to extrude along. Must be one of the following:
taperAngle
[in] Extrusion taper angle in radians. Default value is 0.0. Value must be between 0.5 pi and -0.5 pi. If the path represented by the OdDbCurve object is closed, the taper angle parameter is ignored.
isSolid
[in] Boolean flag that indicates that the ModelerGeometry object is a solid.

eOk if extruding operation is successful or an appropriate error code otherwise.

Entity path must not have self-intersections, and it is recommended that the path does not have high curvature areas. The following constraints are applied: |taper Angle| >= 1e-6.

Copyright © 2002-2022. Open Design Alliance All rights reserved.