4 SetCurrentStudy(salome.myStudy)
6 box = geompy.MakeBoxDXDYDZ(100, 100, 100)
7 geompy.addToStudy( box, "box" )
10 mesh.Segment().NumberOfSegments(3)
15 allFaces = mesh.GetElementsByType(FACE)
16 mesh.RemoveElements( allFaces[0:2])
18 bareGroup = mesh.MakeGroup("bare faces", FACE, FT_BareBorderFace)
19 assert(bareGroup.Size() == 3)