How can I combine multiple surf plots into 1 stl file?
    8 次查看(过去 30 天)
  
       显示 更早的评论
    

Let's say I have a rectangle box composed of 3 surf plots, the yellow top, a bottom face(hidden) and the four sides in purple. Is there a way to combine the 3 plots together into 1 .stl file?
Thanks.
1 个评论
回答(2 个)
  Animesh
    
 2023-4-3
        Hi,
- You can use ‘surf2stl’ to convert individual surf plots to .stl file. The ‘surf2stl’ function can be found here: - https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl
- After converting, you can use 'Meshmixer' or any other similar software to combine the .stl files into a single .stl file.
0 个评论
  DGM
      
      
 2025-7-19
        You don't need surf2stl().  You already have surf2patch(), so just use it to get F,V data from your gridded data.  Once you have F,V data, combine them and write it to an STL file.  It's not necessary to use external software to combine anything.
See also:
Basic approach combining things the long way, with no duplicate pruning:
Simplified using convenience tools:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



