How can I convert surface plot into STL format file?

35 Ansichten (letzte 30 Tage)
siddhartha paudel
siddhartha paudel am 16 Mai 2022
Kommentiert: Charles am 17 Mai 2023
I want to know whats the further process to convert the surface plot into STL file ?
I have downloaded the file from https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl then whats the next process to follow it?
  2 Kommentare
KSSV
KSSV am 16 Mai 2022
Read the help of function, it is clearly shown what to do.
siddhartha paudel
siddhartha paudel am 16 Mai 2022
I am a begineeer so i didnt understand. can you helo me to get through it?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 16 Mai 2022
[X,Y,Z] = peaks(100) ;
surf2stl('test.stl',X,Y,Z)
  8 Kommentare
KSSV
KSSV am 16 Mai 2022
You have to change the path to the folder, where you have the function.
Charles
Charles am 17 Mai 2023
I am able to use the surf2stl file and functionalities to convert "surf" (mesh) into .stl
However, for "fsurf" (function surf, mesh), the functionalities does not seem to work.
Does anyone have experience on how to resolve this issue?
(For the typical X,Y,Z surf, the surf2stl works fine. However, for X,Y,Z defined as functions, hence fsurf, the surf2stl no longer works: "Wrote 0 facets"). Thank you for your help.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by