AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
boolean | Initialize (TopoShape shape) |
void | Optimize () |
GDir | GetDirection () |
long | GetHoleCount () |
GDir | GetHoleDirection (long holeIdx) |
TopoShape | GetHoleExteriorWire (long holeIdx) |
TopoShape | GetHoleInteriorWire (long holeIdx) |
Uint32List | GetHoleExteriorEdges (long holeIdx) |
Uint32List | GetHoleInteriorEdges (long holeIdx) |
TopoShapeList | GetFaceOfHole (long holeIdx) |
TopoShape | GetEdge (long edgeIdx) |
TopoShape | GetFaceOfEdge (long edgeIdx) |
<> 孔特征识别
GDir HoleDetector.GetDirection | ( | ) |
获取朝向
TopoShape HoleDetector.GetEdge | ( | long | edgeIdx | ) |
获取边
edgeIdx | 边的索引 |
TopoShape HoleDetector.GetFaceOfEdge | ( | long | edgeIdx | ) |
获取与轮廓边对应的面。仅限内外表面的边。
edgeIdx | 边的索引 |
TopoShapeList HoleDetector.GetFaceOfHole | ( | long | holeIdx | ) |
获取跟孔的内壁面
holeIdx | 孔的索引 |
long HoleDetector.GetHoleCount | ( | ) |
Get the hole count.
GDir HoleDetector.GetHoleDirection | ( | long | holeIdx | ) |
获取相贯孔的方向。仅对圆孔有效。
holeIdx | 孔的索引。 |
Uint32List HoleDetector.GetHoleExteriorEdges | ( | long | holeIdx | ) |
获取孔的外表面的边的索引
holeIdx | 孔索引 |
TopoShape HoleDetector.GetHoleExteriorWire | ( | long | holeIdx | ) |
获取孔的外部轮廓线.
holeIdx | the hole index. |
Uint32List HoleDetector.GetHoleInteriorEdges | ( | long | holeIdx | ) |
获取孔的内部边的索引
holeIdx | 孔索引 |
TopoShape HoleDetector.GetHoleInteriorWire | ( | long | holeIdx | ) |
获取孔的内部轮廓线
holeIdx | the hole index. |
boolean HoleDetector.Initialize | ( | TopoShape | shape | ) |
初始化,并快速计算孔信息
shape | 零件 |
void HoleDetector.Optimize | ( | ) |
进一步计算内面表面边的关系