- UID
- 5280
- 积分
- 9539
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-5-18
- 最后登录
- 1970-1-1
|
发表于 2019-5-15 13:14:55
|
显示全部楼层
创建AcDb3dSliid,然后用它下面的方法旋转成曲面
AcDb3dSolid::createExtrudedSolid (AcDbEntity*, AcGeVector3d&, AcDbSweepOptions&)
| Creates a solid by sweeping a planar curve, region, or planar surface in the direction of the given vector using a distance equal to the length of the vector. Optional parameters, such as draft angle, may be set through the sweepOptions parameter.
Returns Acad::eOk upon successful creation, Acad::eInvalidInput if given data fails validation, or Acad::eFail if the solid cannot be created.
|
AcDb3dSolid::createSweptSolid (AcDbEntity*, AcDbEntity*, AcDbSweepOptions&)
| Creates a swept solid by sweeping a curve, region, or planar surface (pSweepEnt) along the path pPathEnt. Optional parameters, such as draft angle, may be set through the sweepOptions paramater.
The default alignment for AcDbSweepOptions is kNoAlignment. You must set the alignment to kAlignSweepEntityToPath before calling this function.
Returns Acad::eOk upon successful creation. Returns Acad::eInvalidInput if given data fails validation. Returns Acad::eFail if solid cannot be created.
|
等等
|
|