diff --git a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py index 71bcd674bb..144bfea919 100644 --- a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py +++ b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py @@ -18,7 +18,7 @@ class CreateFlatMesh(BaseCommand): """create flat wires from a meshed face""" def GetResources(self): - return {'MenuText': 'Unwrap Mesh', 'ToolTip': 'find a flat representation of a mesh'} + return {'Pixmap': 'MeshPart_Create_Flat_Mesh.svg', 'MenuText': 'Unwrap Mesh', 'ToolTip': 'find a flat representation of a mesh'} def Activated(self): import numpy as np @@ -48,7 +48,7 @@ class CreateFlatFace(BaseCommand): only full faces are supported right now""" def GetResources(self): - return {'MenuText': 'Unwrap Face', 'ToolTip': 'find a flat representation of a mesh'} + return {'Pixmap': 'MeshPart_Create_Flat_Face.svg', 'MenuText': 'Unwrap Face', 'ToolTip': 'find a flat representation of a mesh'} def Activated(self): import numpy as np diff --git a/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc b/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc index daae1ffeff..f517bc5f16 100644 --- a/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc +++ b/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc @@ -1,6 +1,8 @@ icons/actions/MeshFace.svg + icons/MeshPart_Create_Flat_Face.svg + icons/MeshPart_Create_Flat_Mesh.svg translations/MeshPart_af.qm translations/MeshPart_de.qm translations/MeshPart_fi.qm diff --git a/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Face.svg b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Face.svg new file mode 100644 index 0000000000..467404a846 --- /dev/null +++ b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Face.svg @@ -0,0 +1,284 @@ + + + MeshPart_CreateFlatFace + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + MeshPart_CreateFlatFace + + Cone surface unwraped + + + + + + + + Cone + plane + red arrow + + + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + 19-06-2020 + + + [bitacovir] + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Mesh.svg b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Mesh.svg new file mode 100644 index 0000000000..1ef381dff4 --- /dev/null +++ b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Mesh.svg @@ -0,0 +1,298 @@ + + + MeshPart_Create_Flat_Mesh + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + MeshPart_Create_Flat_Mesh + + Cone mesh unwraped + + + + + + + + Cone + mesh + red arrow + + + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + 19-06-2020 + + + [bitacovir] + + + + + + + + + + + + + + + + + + + + + + + +