Salome HOME
Update lib name
authorabd <abd@opencascade.com>
Mon, 21 Aug 2006 06:55:51 +0000 (06:55 +0000)
committerabd <abd@opencascade.com>
Mon, 21 Aug 2006 06:55:51 +0000 (06:55 +0000)
Superv/Python/InLine_Nut.py

index 19246350e6a163a30cfe405926ab2027d168d98c..365ebeae3dc4872b919190206f994359a5b539e0 100755 (executable)
@@ -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", "libStdMeshersEngine.so" )
+    hAvLength = smesh.CreateHypothesis( "LocalLength", "StdMeshersEngine" )
     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", "libStdMeshersEngine.so" )
+    hArea = smesh.CreateHypothesis( "MaxElementArea", "StdMeshersEngine" )
     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", "libStdMeshersEngine.so" )
+    hVolume = smesh.CreateHypothesis( "MaxElementVolume", "StdMeshersEngine" )
     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", "libStdMeshersEngine.so" )
+    algoReg1D = smesh.CreateHypothesis( "Regular_1D", "StdMeshersEngine" )
     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", "libStdMeshersEngine.so" )
+    algoMef = smesh.CreateHypothesis( "MEFISTO_2D", "StdMeshersEngine" )
     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", "libNETGENEngine.so" )
+    algoNg = smesh.CreateHypothesis( "NETGEN_3D", "NETGENEngine" )
     for hyp in listHyp:
         print hyp
         print algoNg.GetName()