MENU

Fun & Interesting

Create a CYLINDER in MATLAB || TUTORIAL

Prot04m 5,113 3 years ago
Video Not Working? Fix It Now

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 https://youtube.com/playlist?list=PLALdklvvx2NLIL-UrL3BymSRbZ4mC23hk Playlist: FILE FORMATS in MATLAB https://youtube.com/playlist?list=PLALdklvvx2NK2P7cVOBRPFmsPB3lFnXp_ Playlist: UTILITIES in MATLAB https://youtube.com/playlist?list=PLALdklvvx2NLBmDmp693MDiAuB2ISYNYO Link to surf2stl() download: https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl?s_tid=srchtitle_surf2stl_1 repmat() documentation: https://www.mathworks.com/help/matlab/ref/repmat.html?s_tid=doc_ta pol2cart() documentation: https://www.mathworks.com/help/matlab/ref/pol2cart.html?s_tid=doc_ta linspace() documentation: https://www.mathworks.com/help/matlab/ref/linspace.html?s_tid=doc_ta Software: MATLAB 2020b

Comment