AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
静态 Public 成员函数 | 所有成员列表
AnyCAD::API::AdvFeatureTools类 参考

Advanced feature tools. 更多...

#include <APIAdvFeatureTools.h>

静态 Public 成员函数

static TopoShape ExtrudedBoss (const TopoShape &initShape, const TopoShape &profile, Real height, Real angle)
 
static TopoShape ExtrudedCut (const TopoShape &initShape, const TopoShape &profile, Real height, Real angle)
 
static TopoShape MakePipeTShape (Real r1, Real w1, Real l1, Real r2, Real w2, Real l2)
 
static TopoShape MakeSweep (const TopoShape &profile, const TopoShape &path, const FloatList &evolutionS, bool bSolid)
 
static TopoShape MakeSweep (const TopoShape &profile, const TopoShape &path, const TopoShape &evolutionSpline, bool bSolid)
 
static TopoShape MakeEvolved (const TopoShape &profile, const TopoShape &path, int joinType, bool bSolid)
 
static TopoShape MakeConstrainedFillingFace (const TopoShape &wire)
 
static TopoShape MakeConstrainedFillingFace (const TopoShapeGroup &edges, const TopoShape &boundaryWire)
 

详细描述

Advanced feature tools.

TODO:

成员函数说明

static TopoShape AnyCAD::API::AdvFeatureTools::ExtrudedBoss ( const TopoShape initShape,
const TopoShape profile,
Real  height,
Real  angle 
)
static

Add material on a solid by extruding a profile along the normal to its plane..

参数
initShapeyou want to add material on. It must be a solid or a compound made of a single solid.
profileIt must be a closed edge or wire and it must be planar.
heightof extrusion. It is calculated from the base profile along the normal to its plane.
anglein degrees.
返回
the common shape.
static TopoShape AnyCAD::API::AdvFeatureTools::ExtrudedCut ( const TopoShape initShape,
const TopoShape profile,
Real  height,
Real  angle 
)
static

Remove material on a solid by extruding a profile along the normal to its plane..

参数
initShapeyou want to add material on. It must be a solid or a compound made of a single solid.
profileIt must be a closed edge or wire and it must be planar.
heightof extrusion. It is calculated from the base profile along the normal to its plane.
anglein degrees.
返回
the common shape.
static TopoShape AnyCAD::API::AdvFeatureTools::MakeConstrainedFillingFace ( const TopoShape wire)
static

Make Constrained Filling Face.

参数
wirethe the boundary loop of the face.
返回
the face.
static TopoShape AnyCAD::API::AdvFeatureTools::MakeConstrainedFillingFace ( const TopoShapeGroup edges,
const TopoShape boundaryWire 
)
static

Make Constrained Filling Face.

参数
edgesthe constrained edges.
boundaryWirethe boundary loop of the face.
返回
the face.
static TopoShape AnyCAD::API::AdvFeatureTools::MakeEvolved ( const TopoShape profile,
const TopoShape path,
int  joinType,
bool  bSolid 
)
static

Make evolved shape.

参数
profilethe section
paththe path.
joinType0:Arc, 1:Tangent 2:Intersection.
bSolidtrue to make solid or shell/face.
返回
the shape.
static TopoShape AnyCAD::API::AdvFeatureTools::MakePipeTShape ( Real  r1,
Real  w1,
Real  l1,
Real  r2,
Real  w2,
Real  l2 
)
static

Create a T-Shape based on pipes

参数
r1- the internal radius of main pipe
w1- the thickness of main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness of incident pipe
l2- the half-length of main pipe
返回
the resulting shape.
static TopoShape AnyCAD::API::AdvFeatureTools::MakeSweep ( const TopoShape profile,
const TopoShape path,
const FloatList evolutionS,
bool  bSolid 
)
static

Make the profile sweeping along the path with "S" evolution.

参数
profilethe section
paththe sweeping path.
evolutionSthe "S" parameters. the size should be 4 or 6.
bSolidtrue to make solid or shell/face.
返回
the shape.
static TopoShape AnyCAD::API::AdvFeatureTools::MakeSweep ( const TopoShape profile,
const TopoShape path,
const TopoShape evolutionSpline,
bool  bSolid 
)
static

Make the profile sweeping along the path with the evolution controlled by spline.

参数
profilethe section
paththe sweeping path.
evolutionSplinethe evolution spline, should be 2d BSpline.
bSolidtrue to make solid or shell/face.
返回
the shape.

该类的文档由以下文件生成: