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

5 views (last 30 days)
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)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!