ReadonlyshapesReadonlygeomReadonlyfilletsReadonlytransformsReadonlyoperationsReadonlybooleansReadonlydimensionsReadonlyshapeReadonlyassemblyReadonlybrepReadonlycornersReadonlydraftReadonlypathReadonlysvgReadonlycontextReadonlyoccReadonlyioTriangulates a shape and returns every triangle as three points, in one flat list over all faces.
precision is the meshing tolerance in model units: smaller values follow curved surfaces
more closely and give more triangles. adjustYtoZ swaps the Y and Z axes for tools that
treat Z as up, and reversedPoints flips the winding of each triangle.
The shape, the meshing precision and the axis and winding options
One list of three points per triangle
Triangulates a shape into a mesh for drawing: one entry per face with its vertices, normals, UVs and triangle indexes, one per edge with its points, and the vertex points.
precision is the meshing tolerance in model units; smaller values follow curved surfaces
more closely and cost more triangles. adjustYtoZ swaps Y and Z. A null shape gives empty
lists.
The shape, the meshing precision and the options
The mesh as face, edge and point lists
Triangulates several shapes with the same settings, as shapeToMesh does for one.
The shapes, the meshing precision and the options
One mesh per shape, in the same order
Frees the memory a shape holds inside the kernel; the shape cannot be used afterwards. Call it for intermediate results a script no longer needs, so long sessions do not run out of memory.
The shape to free
Frees the memory several shapes hold inside the kernel; they cannot be used afterwards. Call it for intermediate results a script no longer needs, so long sessions do not run out of memory.
The shapes to free
从脚本访问的 OpenCascade(OCCT)API:
occt内核的每个方法,均为异步,形状存在于内核中并以引用形式传递,另有io加载器读取以 File 或文本传入的 STEP 和 IGES 文件。各服务类的文档位于内核自身的OCCTService上。