Parameters |
Description |
const OdDbRegion* region |
[in] A pointer to a region object for extruding from |
const OdDbCurve* path |
[in] A pointer to a curve object to extrude along. Must be one of the following:
|
double taperAngle = 0.0 |
[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. |
Returns eOk if extruding operation is successful or an appropriate error code if not. If solid is null, eInvalidInput is returned.
Creates a solid by extruding a region along a path curve.
Entity path must not have self-intersections, and it is recommended that the path not have high curvature areas.
The following constraints are applied: |taper Angle| >= 1e-6
This method is implemented for Spatial modeler and partially for ModelerGeometry.
ModelerGeometry implementation return eNotImplementedYet status when one of the condition is true:
All interscetion points of region plane and path in case when path end point lie on region plane. Path endpoints in case when both endpoints doesn't lie on region plane.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|