add MMG plugin

This commit is contained in:
Afeef 2024-07-05 11:24:15 +02:00
parent cc09b83e05
commit 066445b0e6

View File

@ -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