Effacer les filtres
Effacer les filtres

Export Figure to CAD

3 vues (au cours des 30 derniers jours)
Richard McCulloch
Richard McCulloch le 4 Mar 2014
I have a figure with multiple spheres. I have the locations of the centers of the spheres and I plot the Matlab figure by the following code:
[xx yy zz]=sphere;
for np=1:N
surf(D(np)*xx/2+x(np),D(np)*yy/2+y(np),D(np)*zz/2+z(np),ones(size(zz)));
hold on
end
Where D is the diameter of that particular sphere, (x,y,z) is the center of that particular sphere, and (xx,yy,zz) is used to make the surface of each sphere. It would be awesome if I could somehow save the resulting figure to a CAD file like stl or something similar. I have seen some really good files on the File Exchange, however all that I have seen only take one surface matrix as the input. Thank you for your help!
Richard
  2 commentaires
Akshay Kumar Pakala
Akshay Kumar Pakala le 23 Mar 2022
Hi Richard
Were you able to figure it out?
Richard McCulloch
Richard McCulloch le 24 Mar 2022
Sorry, but no I wasn’t able to end up making it work.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Model Import dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by