Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Create script with functionality and add it to:
- src/Mod/Path/PathScripts
- 2. Add that script to src/Mod/Path/CMakeLists.txt
- 3. Add icon to src/Mod/Path/Gui/Resources/Path.qrc
- like:
- <file>icons/Path-Hop.svg</file>
- 4. Add the icon file - example:
- src/Mod/Path/Gui/Resources/icons/Path-Hop.svg
- 5. Add the command to src/Mod/Path/InitGui.py in the lines:
- from PathScripts import PathHop
- commands = ["Path_Profile","Path_Pocket","Path_Drilling", etc...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement