4 from salome.geom import geomBuilder
5 geompy = geomBuilder.New()
8 from salome.smesh import smeshBuilder
9 smesh = smeshBuilder.New()
12 box = geompy.MakeBoxDXDYDZ(200., 200., 200.)
13 geompy.addToStudy(box, "box")
15 # create a mesh on the box
16 hybridMesh = smesh.Mesh(box,"box: MG-Hybrid and BLSurf mesh")
18 # create a BLSurf algorithm for faces
19 BLSURF = hybridMesh.Triangle(algo=smeshBuilder.BLSURF)
20 HYBRID = hybridMesh.Tetrahedron(algo=smeshBuilder.HYBRID)