3D Solid Cube

2 次查看(过去 30 天)
N/A
N/A 2023-4-11
Hi
I am going to create a solid cube in 3D in MATLAB that by rotating of one length of cube in the desired angle, other lengths rotate automaicly without deformation of the cube. I would appreciate your help in advance .
Thanks,

采纳的回答

Walter Roberson
Walter Roberson 2023-4-11
编辑:Walter Roberson 2023-4-12
Create an hgtransform parented to the axes. Create a patch() object parented to the hgtransform . Set the Matrix property of the hgtransform to rotate it; it helps to use makehgtform
Or... work with the various camera operations. https://www.mathworks.com/help/matlab/views.html
Or... use rotate3d

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Object Containers 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by