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 view (last 30 days)
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 Comment
Arvind Narayanan
Arvind Narayanan on 4 Mar 2018
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.

Sign in to comment.

Answers (0)

Categories

Find more on Inertias and Loads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!