From: eap Date: Thu, 9 Jul 2015 09:47:34 +0000 (+0300) Subject: 23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D X-Git-Tag: V7_7_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f8b4609f872658c08d0722fa05952f7b375b2daa;p=plugins%2Fblsurfplugin.git 23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D --- diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index 31f15cd..8399cf1 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -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