X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Superv%2FPython%2FInLine_Nut.py;fp=Superv%2FPython%2FInLine_Nut.py;h=19246350e6a163a30cfe405926ab2027d168d98c;hb=c4eafc5ad1ce95cb167f8ae23bc6a40913853915;hp=365ebeae3dc4872b919190206f994359a5b539e0;hpb=2f91338666e6e6d9db6010e797b5dd12ffd648c3;p=samples%2Fdatafiles.git diff --git a/Superv/Python/InLine_Nut.py b/Superv/Python/InLine_Nut.py index 365ebea..1924635 100755 --- a/Superv/Python/InLine_Nut.py +++ b/Superv/Python/InLine_Nut.py @@ -73,7 +73,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = #HYPOTHESIS CREATION print "-------------------------- Average length" theName = "AverageLength" + str(theAverageLength) - hAvLength = smesh.CreateHypothesis( "LocalLength", "StdMeshersEngine" ) + hAvLength = smesh.CreateHypothesis( "LocalLength", "libStdMeshersEngine.so" ) hAvLength.SetLength( theAverageLength ) print hAvLength.GetName() print hAvLength.GetId() @@ -81,7 +81,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = print "-------------------------- MaxElementArea" theName = "MaxElementArea" + str( theMaxElementArea ) - hArea = smesh.CreateHypothesis( "MaxElementArea", "StdMeshersEngine" ) + hArea = smesh.CreateHypothesis( "MaxElementArea", "libStdMeshersEngine.so" ) hArea.SetMaxElementArea( theMaxElementArea ) print hArea.GetName() print hArea.GetId() @@ -90,7 +90,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = print "-------------------------- MaxElementVolume" theName = "MaxElementVolume" + str( theMaxElementVolume ) - hVolume = smesh.CreateHypothesis( "MaxElementVolume", "StdMeshersEngine" ) + hVolume = smesh.CreateHypothesis( "MaxElementVolume", "libStdMeshersEngine.so" ) hVolume.SetMaxElementVolume( theMaxElementVolume ) print hVolume.GetName() print hVolume.GetId() @@ -103,7 +103,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = print "-------------------------- Regular_1D" - algoReg1D = smesh.CreateHypothesis( "Regular_1D", "StdMeshersEngine" ) + algoReg1D = smesh.CreateHypothesis( "Regular_1D", "libStdMeshersEngine.so" ) listHyp = algoReg1D.GetCompatibleHypothesis() for hyp in listHyp: print hyp @@ -112,7 +112,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = SetName(ObjectToID(algoReg1D), "Wire discretisation") print "-------------------------- MEFISTO_2D" - algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "StdMeshersEngine" ) + algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "libStdMeshersEngine.so" ) listHyp = algoMef.GetCompatibleHypothesis() for hyp in listHyp: print hyp @@ -121,7 +121,7 @@ def Mesh(theNameOfTheShape = "Cut_1", theAverageLength = 5, theMaxElementArea = SetName(ObjectToID(algoMef), "Triangle (Mefisto)") print "-------------------------- NETGEN_3D" - algoNg = smesh.CreateHypothesis( "NETGEN_3D", "NETGENEngine" ) + algoNg = smesh.CreateHypothesis( "NETGEN_3D", "libNETGENEngine.so" ) for hyp in listHyp: print hyp print algoNg.GetName()