Create a CYLINDER in MATLAB || TUTORIAL

preview_player
Показать описание
Here I explain how to generate a simple cylinder. I didn't mention it in the video because it is only adjacent to the topic, but for STL generation the normal vector of the cylinder facets need to point outwards. Just running surf2stl might not give the correct output even if it looks correct.

Hope you found the video useful, I am learning programming myself and doing these little videos as practice exercises.

Playlist: 3D OBJECTS in MATLAB

Playlist: FILE FORMATS in MATLAB

Playlist: UTILITIES in MATLAB

Link to surf2stl() download:

repmat() documentation:
pol2cart() documentation:
linspace() documentation:

Software: MATLAB 2020b
Рекомендации по теме
Комментарии
Автор

Very useful videos! Please would you help me with a cylinder inside snother? I don't mean a hollow cylinder, just a small one (same ratio but a different longitud inside the big one)

claufigueroa
Автор

Thank you so much. This was very helpful. I do have a question, may I know how I can label each layer? i have a dataset with layers and i want each layer to be layered.

samanthaolga
Автор

Thank you sir l have one question How to design a half hollow cylinder by using the cylindrical coordinates (x=r*cos, y=r*sin )

essamsalem