Skip to content

Commit

Permalink
fix the initiate icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Serince committed Sep 19, 2024
1 parent 5b35a55 commit d7324f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fembygen/Initiate.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import FreeCAD
import FreeCADGui
from fembygen import Common
import os

MAX_NUM_PARAMETER = 10 # maximum number of parameters

LOCATION = os.path.normpath('Mod/FEMbyGEN/fembygen')

class InitiateCommand():
"""Create parameter spreadsheet"""

def GetResources(self):
return {'Pixmap': ':/icons/Spreadsheet.svg',
return {'Pixmap':os.path.join(FreeCAD.getUserAppDataDir(), LOCATION, 'icons/Initiate.svg'),
'Accel': "Shift+N", # a default shortcut (optional)
'MenuText': "Initiate",
'ToolTip': "Create parameter spreadsheet"}
Expand Down

0 comments on commit d7324f2

Please sign in to comment.