FEM: GMSH mesh tool, change icons for netgen and gmsh mesh to distingish them in toolbar

This commit is contained in:
Bernd Hahnebach
2016-11-22 19:48:46 +01:00
parent b2827a21e8
commit 4bbd896d4b
5 changed files with 496 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class _CommandMeshNetgenFromShape(FemCommands):
# the Fem_MeshNetgenFromShape command definition
def __init__(self):
super(_CommandMeshNetgenFromShape, self).__init__()
self.resources = {'Pixmap': 'fem-fem-mesh-from-shape',
self.resources = {'Pixmap': 'fem-fem-mesh-netgen-from-shape',
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_MeshFromShape", "FEM mesh from shape by Netgen"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_MeshFromShape", "Create a FEM volume mesh from a solid or face shape by Netgen internal mesher")}
self.is_active = 'with_part_feature'