2 from SMESH_test1 import *
6 print "-------------------------- compute box"
7 ret=gen.Compute(mesh,idbox)
9 log=mesh.GetLog(0); # no erase trace
14 sg.updateObjBrowser(1);
18 ##print "-------------------------- compute edge"
19 ##ret=gen.Compute(mesh,idedge)
25 # ---- add hypothesis to face
29 #print "-------------------------- compute face"
30 #ret=gen.Compute(mesh,idface)
36 ##shell=salome.IDToObject(ids)
37 ##submesh=mesh.GetElementsOnShape(shell)
38 ##ret=mesh.AddHypothesis(shell,algoReg)
40 ##ret=mesh.AddHypothesis(shell,hypLen1)
42 ##ret=gen.Compute(mesh,ids)