4 from SMESH_mechanic import mesh as mesh1
5 from SMESH_test1 import mesh as mesh2
10 # compute bounding box for mesh1
13 # compute bounding box for list of nodes of mesh1
14 mesh1.BoundingBox([363, 364, 370, 371, 372, 373, 379, 380, 381])
16 # compute bounding box for list of elements of mesh1
17 mesh1.BoundingBox([363, 364, 370, 371, 372, 373, 379, 380, 381], isElem=True)
19 # compute common bounding box of mesh1 and mesh2
20 smesh.BoundingBox([mesh1, mesh2])