X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FSMESH%2Finput%2Ftui_creating_meshes.doc;h=220e63c8a2b61e72ad03bfdf3fc2894e14a839b6;hb=857d7aff3dc46f19c178e3b15d706975c7579d19;hp=bad32ebf42a901e87ec65b679b87057aee53ecd3;hpb=2de294b09ac8b9ace071a01db9cb4e235f1eadbb;p=modules%2Fsmesh.git diff --git a/doc/salome/gui/SMESH/input/tui_creating_meshes.doc b/doc/salome/gui/SMESH/input/tui_creating_meshes.doc index bad32ebf4..220e63c8a 100644 --- a/doc/salome/gui/SMESH/input/tui_creating_meshes.doc +++ b/doc/salome/gui/SMESH/input/tui_creating_meshes.doc @@ -231,6 +231,11 @@ tetra.Compute() # export the mesh in a MED file tetra.ExportMED("/tmp/meshMED.med", 0) + +# export a group in a MED file +face = geompy.SubShapeAll( box, geompy.ShapeType["FACE"])[0] # a box side +group = tetra.GroupOnGeom( face, "face group" ) # group of 2D elements on the +tetra.ExportMED("/tmp/groupMED.med", meshPart=group) \endcode
@@ -270,7 +275,7 @@ fGroup = mesh.GroupOnGeom( face, "2D on face") nGroup = mesh.GroupOnGeom( face, "nodes on face", NODE) subMesh = localAlgo.GetSubMesh() -# make a new mesh by copying different part of the mesh +# make a new mesh by copying different parts of the mesh # 1. copy the whole mesh newMesh = CopyMesh( mesh, "whole mesh copy")