How to write multiple object surfaces/solids to a single .stl file?

4 views (last 30 days)
Vinit Nagda
Vinit Nagda on 19 Oct 2021
I have multiple object surfaces (refer to the image attached below) in Matlab defined by X,Y,Z coordinate data and Triangle connectivity (T). I am using stlwrite function to create a stl file from triangulation object. It can write only one triangulation object surface to a stl file. So if I have 100's of objects, I will have to create that many stl files. But, Is there a way to write all object surfaces into a single stl file? Thank you.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by