I have a Pressure Vessel surface and different points along the surface. I also have the normal vectors to the surface. I want to draw a cylinder at the point on the pressure vessel and perpendicular at the point on the surface?
1 次查看(过去 30 天)
显示 更早的评论
What I have 1) Pressure Vessel Geometry (already drawn) 2) Points along the pressure vessel(x,y,z) and normal(xnorm,ynorm,znorm) 3) Cylinder (already drawn) I want to make the cylinder perpendicular to the pressure vessel surface. thanks. cheers.
1 个评论
Arvind Narayanan
2018-3-4
Try rotating the axis of the cylinder to match the normal to the pressure vessel surface. This would work better if all the points on the cylinder are a part of a structure, so as to ensure they rotate together. Look up rotation matrices online for more information.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Inertias and Loads 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!