Is it possible to save 2D or 3D graphics in a common CAD format (STEP File or .dwg file)?

17 visualizzazioni (ultimi 30 giorni)
Is it possible to create a 2D or 3D graphic shape in MATLAB and then convert it into a common CAD file?

Risposta accettata

Abhishek
Abhishek il 13 Set 2023
Hi Saeid,
I understand that you want to create a 2D/3D graphic shape and then export it as a known CAD file format using MATLAB.
One way to create and export the 2D/3D graphic shape is by creating a surface of the shape using "surf" plot and then export it as STL File, which is a commonly used CAD file format.
To create 2D/3D graphic shape in MATLAB, you can use the "surf" plot. This will help you to create a three-dimensional surface plot. Please refer this documentation for more information about "surf" plot: https://in.mathworks.com/help/matlab/ref/surf.html
Once you have a surface plot, you can export the "surf" plot values into a stl file using the following file exchange: https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl
In case you want to convert the thin surface of graphical shape, you can use the following file exchange: https://in.mathworks.com/matlabcentral/fileexchange/42876-surf2solid-make-a-solid-volume-from-a-surface-for-3d-printing
I hope this helps!

Più risposte (0)

Categorie

Scopri di più su Model Import in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by