How to output STL format flie

2 views (last 30 days)
I have a point matrix p whose size is 3x98065;the triangulation matrix t whose size is 3x196124 ; How to output the data as a STL model.Thank you.

Accepted Answer

Walter Roberson
Walter Roberson on 14 Mar 2016
  2 Comments
LIN Hongbin
LIN Hongbin on 14 Mar 2016
I used stlwrite('test.stl',t,p), but I received: Attempted to access facecolor(:,1); index out of bounds because size(facecolor)=[0,0]. Error in stlwrite (line 133) c0 = bitor(bitshift(bitand(2^6-1, facecolor(:,1)),10),c0); I was confused on how to input the variables.Thank you
LIN Hongbin
LIN Hongbin on 14 Mar 2016
I create a struct and solve it,Thanks

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!