Building 3D geometries

Hi guys, I am trying to model a electrical study on a 3D shape without importing STL files.
May I know how do I build this with matlab code? I have different layers of the cylinder(bottom) and 2 rings that protrude out from the base cylinders.
May I also ask how to position the shape at origin too?
Thank you so much!

Answers (1)

Ayush
Ayush on 1 Sep 2023
Edited: Ayush on 1 Sep 2023

0 votes

Hi Miles,
I have seen that you have raised two questions based on the same problem. You can refer to the below answer link for the solution:
Additionally, you can refer to the following documentation to know more about the "multicylinder" function:
Hope it helps,
Regards,
Ayush Misra

Asked:

on 3 Dec 2022

Edited:

on 1 Sep 2023

Community Treasure Hunt

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

Start Hunting!