Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::extrudeFacesAlongPath Method
Syntax
C++
virtual OdResult extrudeFacesAlongPath(const OdArray<OdDbSubentId *> & faceSubentIds, const OdDbCurve* path);

Extrudes specified faces along the specified path determined by a curve entity. 

 

Parameters
Description
faceSubentIds
[in] Array of faces' subentity IDs. Faces with specified IDs will be extruded.
path
[in] Pointer to a curve object to extrude along (extrusion path). Can not be NULL.

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

Faces for extrusion must be planar. Curve entity must be one of the following:

  • OdDbLine
  • OdDbArc
  • OdDbEllipse
  • OdDbSpline
  • OdDb2dPolyline
  • Non-spline fit OdDb3dPolyline

 

Extrusion path must not have self-intersections. Also it is recommended that the path doesn't have high curvature areas. If one of the end points of the path is not located on the region's plane, the path will move the point on the plane. This method is implemented only for Spatial modeler and returns the eNotImplementedYet status for other modelers.

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