STL Export without merging meshes

Is there a way to export a STL file without merging all meshes ?
I understand that the function STLExport.CreateSTL take an array of meshes as first parameter but the result is always combined into one single element.

Do I miss an option or could I rewrite the function to create as many “solid” as there are meshes in the scene ?
Thanks for your tips :slight_smile:

Currently there is no way to export as multiple solids, so you’d have to add the capability to STL serializer: Babylon.js/stlSerializer.ts at master · BabylonJS/Babylon.js · GitHub. If you do and want to contribute back to the project let us know :smiley:

1 Like