]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
'bos #18467 [CEA] remove any addition to the environment at launch done by runSalome...
authorrnv <rnv@opencascade.com>
Fri, 31 Jan 2020 15:26:44 +0000 (18:26 +0300)
committerrnv <rnv@opencascade.com>
Fri, 31 Jan 2020 15:26:44 +0000 (18:26 +0300)
bin/appli_gen.py

index 8f76b7c337c54a29f933d69cf86a1e332e95f924..15648eb9008fcd3b3ae9d0a3f046dccc7bfae1dd 100755 (executable)
@@ -351,6 +351,15 @@ export LD_LIBRARY_PATH=${HOME}/${APPLI}/lib/salome:$LD_LIBRARY_PATH
             command = "export LD_LIBRARY_PATH=  ${HOME}/${APPLI}/bin/salome/test/" + module + "/lib:$LD_LIBRARY_PATH\n"
             f.write(command)
             pass
+        # Create environment for plugins GEOM
+        command = "export GEOM_PluginsList=BREPPlugin:STEPPlugin:IGESPlugin:STLPlugin:XAOPlugin:VTKPlugin:AdvancedGEOM\n"
+        f.write(command)
+        # Create environment for Healing
+        command = "export CSF_ShHealingDefaults=${HOME}/${APPLI}/share/salome/resources/geom\n"
+        f.write(command)
+        # Create environment for Meshers
+        command = "export SMESH_MeshersList=StdMeshers:HYBRIDPlugin:HexoticPLUGIN:GMSHPlugin:GHS3DPlugin:NETGENPlugin:HEXABLOCKPlugin:BLSURFPlugin\nexport SALOME_StdMeshersResources=${HOME}/${APPLI}/share/salome/resources/smesh\n"
+        f.write(command)
 
     # Create configuration file: configSalome.cfg
     with open(os.path.join(home_dir, 'env.d', 'configSalome.cfg'),'w') as f:
@@ -377,6 +386,15 @@ ADD_TO_LD_LIBRARY_PATH: ${HOME}/${APPLI}/lib/salome
             command = "ADD_TO_LD_LIBRARY_PATH: ${HOME}/${APPLI}/bin/salome/test/" + module + "/lib\n"
             f.write(command)
             pass
+        # Create environment for plugins GEOM
+        command = "GEOM_PluginsList=BREPPlugin:STEPPlugin:IGESPlugin:STLPlugin:XAOPlugin:VTKPlugin:AdvancedGEOM\n"
+        f.write(command)
+        # Create environment for Healing
+        command = "CSF_ShHealingDefaults=${HOME}/${APPLI}/share/salome/resources/geom\n"
+        f.write(command)
+        # Create environment for Meshers
+        command = "SMESH_MeshersList=StdMeshers:HYBRIDPlugin:HexoticPLUGIN:GMSHPlugin:GHS3DPlugin:NETGENPlugin:HEXABLOCKPlugin:BLSURFPlugin\nSALOME_StdMeshersResources=${HOME}/${APPLI}/share/salome/resources/smesh\n"
+        f.write(command)
 
 
     # Create environment file: configGUI.sh