]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D
authoreap <eap@opencascade.com>
Thu, 9 Jul 2015 09:47:34 +0000 (12:47 +0300)
committereap <eap@opencascade.com>
Thu, 9 Jul 2015 09:47:34 +0000 (12:47 +0300)
src/BLSURFPlugin/BLSURFPluginBuilder.py

index 31f15cd5915e8bcfaf8f1339f29b1faf3f07b5ae..8399cf10f8cef75f0c603d0b1c120978bd6da3fb 100644 (file)
@@ -23,6 +23,8 @@
 
 from salome.smesh.smesh_algorithm import Mesh_Algorithm
 
+LIBRARY = "libBLSURFEngine.so"
+
 # Topology treatment way of MG-CADSurf
 FromCAD, PreProcess, PreProcessPlus, PreCAD = 0,1,2,3
 
@@ -83,7 +85,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
     Mesh_Algorithm.__init__(self)
     if noBLSURFPlugin:
       print "Warning: BLSURFPlugin module unavailable"
-    self.Create(mesh, geom, BLSURF, "libBLSURFEngine.so")
+    self.Create(mesh, geom, BLSURF, LIBRARY)
     self.params=None
     self.geompyD = mesh.geompyD
     #self.SetPhysicalMesh() - PAL19680
@@ -432,7 +434,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
   def Parameters(self):
     if not self.params:
       self.params = self.Hypothesis("MG-CADSurf Parameters", [],
-                                    "libBLSURFEngine.so", UseExisting=0)
+                                    LIBRARY, UseExisting=0)
       pass
     return self.params