From: Afeef Date: Fri, 5 Jul 2024 09:24:15 +0000 (+0200) Subject: add MMG plugin X-Git-Tag: V9_14_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=066445b0e6b5c691eaf676e1e21249a8a5776cf3;p=modules%2Fsmesh.git add MMG plugin --- diff --git a/src/Tools/smesh_plugins.py b/src/Tools/smesh_plugins.py index bb94938ff..83db5cfcc 100644 --- a/src/Tools/smesh_plugins.py +++ b/src/Tools/smesh_plugins.py @@ -61,6 +61,15 @@ except Exception as e: salome_pluginsmanager.logger.info('ERROR: MGCleaner plug-in is unavailable: {}'.format(e)) pass +try: + from mmgplugin.mmgPlug_plugin import Mmg + salome_pluginsmanager.AddFunction('ReMesh with MMG', + 'Run MMG', + Mmg) +except Exception as e: + salome_pluginsmanager.logger.info('ERROR: MMG plug-in is unavailable: {}'.format(e)) + pass + try: from blocFissure.ihm.fissureCoude_plugin import fissureCoudeDlg salome_pluginsmanager.AddFunction('Meshed Pipe with a crack (blocFissure plugin)', @@ -88,7 +97,7 @@ try: 'Add a crack in a mesh with Zcracks plug-in', ZcracksLct) except Exception as e: - #print 'probleme zcracks' + #print 'problem zcracks' salome_pluginsmanager.logger.info('ERROR: Zcrack plug-in is unavailable: {}'.format(e)) pass @@ -99,6 +108,5 @@ try: 'run topological volumic mesher', TopIIVolMeshLct) except Exception as e: - #print 'probleme zcracks' salome_pluginsmanager.logger.info('ERROR: TopIIVolMesh plug-in is unavailable: {}'.format(e)) pass