AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
boolean | Initialize (TopoShape solid) |
GBBox | GetBoundingBox () |
TopoShape | GetShape () |
int | GetDirection () |
void | SetDirection (int direction) |
double | GetTolerance () |
void | SetTolerance (double tol) |
double | GetTubeWallThickness () |
void | SetTubeWallThickness (double thickness) |
int | ComputeExteriorHoles () |
int | ComputeIteriorHoles () |
int | GetFaceCount () |
TopoShape | GetFace (int idx) |
Int32List | GetInteriorFaces () |
Int32List | GetMiddleFaces () |
Int32List | GetExteriorFaces () |
int | GetExteriorHoleCount () |
HoleEdgeIndexList | GetExteriorHole (int idx) |
TopoShape | GetExteriorHoleWire (int idx) |
int | GetInteriorHoleCount () |
HoleEdgeIndexList | GetInteriorHole (int idx) |
TopoShape | GetEdge (int faceIdx, int edgeIdx) |
TopoShape | GetHoleEdge (HoleEdgeIndex index) |
Find the hole information from solid.
HoleExplor exp;
exp.Initialize(shape);
exp.Compute();
int HoleExplorLegacy.ComputeExteriorHoles | ( | ) |
Compute the exterior holes
int HoleExplorLegacy.ComputeIteriorHoles | ( | ) |
Compute the iterior holes
GBBox HoleExplorLegacy.GetBoundingBox | ( | ) |
Get the bounding box
int HoleExplorLegacy.GetDirection | ( | ) |
Get direction of the shape. 0:X, 1:Y, 2:Z
TopoShape HoleExplorLegacy.GetEdge | ( | int | faceIdx, |
int | edgeIdx | ||
) |
Get the edge of face by index
faceIdx | the face index |
edgeIdx | the edge index |
Int32List HoleExplorLegacy.GetExteriorFaces | ( | ) |
Get exterior faces
HoleEdgeIndexList HoleExplorLegacy.GetExteriorHole | ( | int | idx | ) |
Get the edges of hole by index.
idx | the index. |
int HoleExplorLegacy.GetExteriorHoleCount | ( | ) |
Get hole count.
TopoShape HoleExplorLegacy.GetExteriorHoleWire | ( | int | idx | ) |
Get the wire of exterior hole idx
idx | the hole id. |
TopoShape HoleExplorLegacy.GetFace | ( | int | idx | ) |
Get the face by index
idx | the face index. |
int HoleExplorLegacy.GetFaceCount | ( | ) |
Get face count.
Int32List HoleExplorLegacy.GetInteriorFaces | ( | ) |
Get interior faces
HoleEdgeIndexList HoleExplorLegacy.GetInteriorHole | ( | int | idx | ) |
Get the edges of hole by index.
idx | the index. |
int HoleExplorLegacy.GetInteriorHoleCount | ( | ) |
Get hole count.
Int32List HoleExplorLegacy.GetMiddleFaces | ( | ) |
Get middle faces
TopoShape HoleExplorLegacy.GetShape | ( | ) |
Get the input shape.
double HoleExplorLegacy.GetTolerance | ( | ) |
Get tolerance.
double HoleExplorLegacy.GetTubeWallThickness | ( | ) |
Get the wall thickness, not accurate.
boolean HoleExplorLegacy.Initialize | ( | TopoShape | solid | ) |
Initialize by solid.
solid | the solid to be process. |
void HoleExplorLegacy.SetDirection | ( | int | direction | ) |
Set the direction of the shape.1:X, 2:Y, 3:Z
void HoleExplorLegacy.SetTolerance | ( | double | tol | ) |
Set the tolerance.
tol | the tolerance. |
void HoleExplorLegacy.SetTubeWallThickness | ( | double | thickness | ) |
Set the approximately thickness.
thickness | the thickness value. |