MATLAB: Does the importgeometry command work to import any geometry in simmechanics simmechanicssimulink Hi All I need to import some IGES or STEP geometries in simmechanics. could you please tell me if the import geomtery command work for this intention ? https://la.mathworks.com/help/pde/ug/pde.pdemodel.importgeometry.html Best Answer Currently only STL import is supported in importGeometry. Related SolutionsMATLAB: How to access to the vertices and facets of each face detected using importGeometry (PDE toolbox) Hello,I was able to associate nodes to faces thanks to this answer:https://it.mathworks.com/matlabcentral/answers/310479-how-to-assign-nodes-to-faces-of-a-3d-tetrahedral-mesh-pdetool?s_tid=srchtitleThank you for your time.Gaetano MATLAB: Export geometry out of model container You can get this information easily in the latest version of MATLAB, which is R2018a. The function you need to use is findNodes.Here is a simple example with block as geometry:model = createpde; gm = importGeometry(model,'Block.stl') msh = generateMesh(model); vertexNodes = findNodes(msh,'region','Vertex',1:gm.NumVertices); vertexCoordinates = msh.Nodes(:,vertexNodes) Related QuestionExtra faces in imported geometryPDE Toolbox does not recognize subdomains in imported .stl geometrySimmechanics model
Best Answer