Close

Relief for ODA Team in Ukraine

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

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). Cannot be NULL.

eOk if successful or an appropriate error code otherwise.

Faces for extrusion must be planar. 

The 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.

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