5 mesh = SMESH_mechanic.mesh
9 n1 = mesh.AddNode(50, 10, 0)
10 if n1 == 0: print("KO node addition.")
13 t1 = mesh.AddVolume([n1, 38, 39, 246])
14 if t1 == 0: print("KO tetrahedron addition.")
15 else: print("New Tetrahedron has been added with ID ", t1)