if we run the command from the GUI, we read in the Python view:
Code: Select all
>>> Gui.runCommand('Path_Pocket_Shape',0)
Code: Select all
dvd@dvd:/usr/share/freecad-daily$ grep -r "Pocket Shape" *
Mod/Path/PathScripts/PathPocketShapeGui.py:__title__ = "Path Pocket Shape Operation UI"
Mod/Path/PathScripts/PathPocketShapeGui.py:__doc__ = "Pocket Shape operation page controller and command implementation."
Mod/Path/PathScripts/PathPocketShapeGui.py:Command = PathOpGui.SetupOperation('Pocket Shape',
Mod/Path/PathScripts/PathPocketShapeGui.py: QtCore.QT_TRANSLATE_NOOP("Path_Pocket", "Pocket Shape"),
Mod/Path/PathScripts/PathPocketShape.py:__title__ = "Path Pocket Shape Operation"
Mod/Path/PathScripts/PathSelection.py: opsel['Pocket Shape'] = pocketselect
dvd@dvd:/usr/share/freecad-daily$
Code: Select all
QtCore.QT_TRANSLATE_NOOP("Path_Pocket", "Pocket Shape"),
I am not yet familiar with these actions.