Class for generating STL data from a Babylon scene.
Static CreateSTLSearch playground for CreateSTL
Exports the geometry of a Mesh array in .STL file format (ASCII)
meshes: (Mesh | InstancedMesh)
list defines the mesh to serialize
Optional download: boolean
triggers the automatic download of the file.
Optional fileName: string
changes the downloads fileName.
Optional binary: boolean
changes the STL to a binary type.
Optional isLittleEndian: boolean
toggle for binary type exporter.
Optional doNotBakeTransform: boolean
toggle if meshes transforms should be baked or not.
Optional supportInstancedMeshes: boolean
toggle to export instanced Meshes. Enabling support for instanced meshes will override doNoBakeTransform as true
Optional exportIndividualMeshes: boolean
toggle to export each mesh as an independent mesh. By default, all the meshes are combined into one mesh. This property has no effect when exporting in binary format
the STL as UTF8 string