Advertisement
danfalck

AddCommandsToPath.txt

Feb 7th, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. 1. Create script with functionality and add it to:
  2. src/Mod/Path/PathScripts
  3. 2. Add that script to src/Mod/Path/CMakeLists.txt
  4. 3. Add icon to src/Mod/Path/Gui/Resources/Path.qrc
  5. like:
  6. <file>icons/Path-Hop.svg</file>
  7.  
  8. 4. Add the icon file - example:
  9. src/Mod/Path/Gui/Resources/icons/Path-Hop.svg
  10.  
  11. 5. Add the command to src/Mod/Path/InitGui.py in the lines:
  12.  
  13. from PathScripts import PathHop
  14. commands = ["Path_Profile","Path_Pocket","Path_Drilling", etc...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement