PathScripts.PathOpGui Namespace Reference

Classes

class  CommandPathOp
 
class  CommandResources
 
class  CommandSetStartPoint
 
class  TaskPanel
 
class  TaskPanelBaseGeometryPage
 
class  TaskPanelBaseLocationPage
 
class  TaskPanelDepthsPage
 
class  TaskPanelDiametersPage
 
class  TaskPanelHeightsPage
 
class  TaskPanelPage
 
class  ViewProvider
 

Functions

def Create (res)
 
def SetupOperation (name, objFactory, opPageClass, pixmap, menuText, toolTip, setupProperties=None)
 

Variables

 translate = FreeCAD.Qt.translate
 

Function Documentation

◆ Create()

def PathScripts.PathOpGui.Create (   res)
Create(res) ... generic implementation of a create function.
res is an instance of CommandResources. It is not expected that the user invokes
this function directly, but calls the Activated() function of the Command object
that is created in each operations Gui implementation.

Referenced by PathScripts.PathOpGui.CommandPathOp.Activated().

◆ SetupOperation()

def PathScripts.PathOpGui.SetupOperation (   name,
  objFactory,
  opPageClass,
  pixmap,
  menuText,
  toolTip,
  setupProperties = None 
)
SetupOperation(name, objFactory, opPageClass, pixmap, menuText, toolTip, setupProperties=None)
Creates an instance of CommandPathOp with the given parameters and registers the command with FreeCAD.
When activated it creates a model with proxy (by invoking objFactory), assigns a view provider to it
(see ViewProvider in this module) and starts the editor specifically for this operation (driven by opPageClass).
This is an internal function that is automatically called by the initialisation code for each operation.
It is not expected to be called manually.

Variable Documentation

◆ translate

PathScripts.PathOpGui.translate = FreeCAD.Qt.translate