AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
FixShapeTool类 参考

静态 Public 成员函数

static TopoShape RemoveInternalWires (TopoShape shape, double minArea)
 
static TopoShape FixSolid (TopoShape solid)
 
static TopoShape FixShape (TopoShape shape)
 
static TopoShape Defeaturing (TopoShape solid, TopoShapeList faceToRemove)
 
static TopoShape RemoveHoles (TopoShape solid)
 
static TopoShape FixSmallEdges (TopoShape shape, double len, double angle)
 

详细描述

<>
FixShapeTool
对TopoShape进行修复的工具类.

成员函数说明

◆ Defeaturing()

static TopoShape FixShapeTool.Defeaturing ( TopoShape solid,
TopoShapeList faceToRemove )
static

特征消除:包括holes, protrusions, gaps, chamfers, fillets等

参数
solid体对象
faceToRemove特征所在的面。
返回
新对象

◆ FixShape()

static TopoShape FixShapeTool.FixShape ( TopoShape shape)
static

Fix the shape.

参数
shapethe shape.
返回
the new Shape.

◆ FixSmallEdges()

static TopoShape FixShapeTool.FixSmallEdges ( TopoShape shape,
double len,
double angle )
static

合并短线条

参数
shape形状
len长度
angle角度
返回
新的

◆ FixSolid()

static TopoShape FixShapeTool.FixSolid ( TopoShape solid)
static

Fix the potentional issues of the solid.

参数
solidthe input solid.
返回
the shape.

◆ RemoveInternalWires()

static TopoShape FixShapeTool.RemoveInternalWires ( TopoShape shape,
double minArea )
static

移除面积小于指定面积的内部的Wires

参数
shape输入的Shape
minArea面积
返回
新生成的Shape