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

22 Ansichten (letzte 30 Tage)
Is it possible to create a 2D or 3D graphic shape in MATLAB and then convert it into a common CAD file?

Akzeptierte Antwort

Abhishek
Abhishek am 13 Sep. 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!

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by