1 # Construction of a Mesh
7 box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
8 idbox = geompy.addToStudy(box, "box")
11 tetra = smesh.Mesh(box, "MeshBox")
13 algo1D = tetra.Segment()
14 algo1D.NumberOfSegments(7)
16 algo2D = tetra.Triangle()
17 algo2D.MaxElementArea(800.)
19 algo3D = tetra.Tetrahedron()
20 algo3D.MaxElementVolume(900.)
25 print "problem when computing the mesh"