Identify surfaces of geometry that is imported as stl file to matlab
23 views (last 30 days)
My code reads an stl file of a geometry on matlab and uses the triangulated elements to determine the angle between the surface normal of each elemnt and a user defined velocity vector.
Now I wish to alter the velocity vector only on certain surfaces of the geometry and not just the elements. I don't intend to manually identify the element ID that form the required surface because the element ID changes with every new stl file that is used in the code.
How do I target the surfaces of the geometry when the stl file stores only vertices and connectivity list of the geometry. Or Is there any other file format which identifies different surfaces that form the geometry.