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?

2 次查看(过去 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
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 CenterFile Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by