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