Converts all primitives of all surfaces into an indexed triangle mesh and stores the result in the returned TypedBlob with BlobType::IndexedTrianglesF32.
This operation will make sure all vertices are de-duplicated and all T-junctions are resolved.
In particular, the result will be guaranteed (topologically and geometrically) supersolid if it's the result of a Boolean operation. Geometrically connected components can be found via topological connected components.
See BlobType::IndexedTrianglesF32 for how the resulting bytes are interpreted.
Note:
Equivalent to ExportMesh(mesh, ExportFormat::IndexedTriangles, ExportOption::VertexPositionF32)
Signature
class Operation:
// Exports a mesh operand to an indexed float32 triangle blob
fun exportToIndexedTrianglesF32(
mesh: MeshOperand,
) -> TypedBlob