5 from salome.geom import geomBuilder
6 geompy = geomBuilder.New(salome.myStudy)
9 from salome.smesh import smeshBuilder
10 smesh = smeshBuilder.New(salome.myStudy)
13 box = geompy.MakeBoxDXDYDZ(200., 200., 200.)
14 geompy.addToStudy(box, "box")
16 # create a mesh on the box
17 ghs3dMesh = smesh.Mesh(box,"box: Ghs3D and BLSurf mesh")
19 # create a BLSurf algorithm for faces
20 BLSURF = ghs3dMesh.Triangle(algo=smeshBuilder.BLSURF)
21 GHS3D = ghs3dMesh.Tetrahedron(algo=smeshBuilder.GHS3D)