Is it possible to save 2D or 3D graphics in a common CAD format (STEP File or .dwg file)?
조회 수: 25 (최근 30일)
이전 댓글 표시
채택된 답변
Abhishek
2023년 9월 13일
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!
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!