Skip to content

Commit

Permalink
FEM: FEMMesh2Mesh, add a icon
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Nov 25, 2016
1 parent 3e4cf99 commit cba8075
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Mod/Fem/Gui/Resources/Fem.qrc
Expand Up @@ -29,6 +29,7 @@
<file>icons/fem-fem-mesh-from-shape.svg</file>
<file>icons/fem-fem-mesh-gmsh-from-shape.svg</file>
<file>icons/fem-fem-mesh-netgen-from-shape.svg</file>
<file>icons/fem-femmesh-to-mesh.svg</file>
<file>icons/fem-frequency-analysis.svg</file>
<file>icons/fem-inp-editor.svg</file>
<file>icons/fem-material.svg</file>
Expand Down
153 changes: 153 additions & 0 deletions src/Mod/Fem/Gui/Resources/icons/fem-femmesh-to-mesh.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Mod/Fem/_CommandFEMMesh2Mesh.py
Expand Up @@ -38,7 +38,7 @@ class _CommandFemMesh2Mesh(FemCommands):
# the Fem_FemMesh2Mesh command definition
def __init__(self):
super(_CommandFemMesh2Mesh, self).__init__()
self.resources = {'Pixmap': 'fem-fem-mesh-from-shape',
self.resources = {'Pixmap': 'fem-femmesh-to-mesh',
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_FemMesh2Mesh", "FEM mesh to mesh"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_FemMesh2Mesh", "Convert the surface of a FEM mesh to a mesh")}
self.is_active = 'with_femmesh_andor_res'
Expand Down

0 comments on commit cba8075

Please sign in to comment.