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
API OpenCascade (OCCT), доступный из скрипта: каждый метод ядра
occt, асинхронный, с формами, живущими в ядре и передаваемыми как ссылки, плюс загрузчикиio, которые читают файлы STEP и IGES, переданные как File или как текст. Классы сервисов задокументированы в собственномOCCTServiceядра.