Salome HOME
dialog adjust shape point to mesh edges
[modules/hydro.git] / src / HYDROTools / hydro_plugins.py
index 11eb9f4927219f1ba5f689311f5ac31e0a253276..c86b138ace83b0154dbd4bdc3e7bd48eaa60d9d0 100644 (file)
@@ -32,6 +32,15 @@ except Exception as e:
   salome_pluginsmanager.logger.info('ERROR: meshEdgesToShapes plug-in is unavailable: {}'.format(e))
   pass
 
+try:
+  from plugins import fitShapePointsToMeshEdgesDialog
+  salome_pluginsmanager.AddFunction('Adjust shapefile',
+                                    'Adjust shapefile points to mesh edges',
+                                    fitShapePointsToMeshEdgesDialog.execDialog)
+except Exception as e:
+  salome_pluginsmanager.logger.info('ERROR: fitShapePointsToMeshEdges plug-in is unavailable: {}'.format(e))
+  pass
+
 try:
   from testPlugin import testDialog
   salome_pluginsmanager.AddFunction('test Dialog',