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 visualizzazione (ultimi 30 giorni)
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 Commento
Arvind Narayanan
Arvind Narayanan il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Inertias and Loads in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by