draftguitools.gui_lines.Wire Class Reference
Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
Public Member Functions inherited from draftguitools.gui_lines.Line | |
def | action (self, arg) |
def | Activated (self, name=translate("draft", "Line")) |
def | drawSegment (self, point) |
def | finish (self, closed=False, cont=False) |
def | numericInput (self, numx, numy, numz) |
def | orientWP (self) |
def | removeTemporaryObject (self) |
def | undolast (self) |
def | wipe (self) |
Public Member Functions inherited from draftguitools.gui_base_original.Creator | |
def | Activated (self, name="None", noplanesetup=False) |
Public Member Functions inherited from draftguitools.gui_base_original.DraftTool | |
def | Activated (self, name="None", noplanesetup=False, is_subtool=False) |
def | commit (self, name, func) |
def | finish (self, close=False) |
def | getStrings (self, addrot=None) |
def | IsActive (self) |
Additional Inherited Members | |
Public Attributes inherited from draftguitools.gui_lines.Line | |
call | |
featureName | |
isWire | |
node | |
obj | |
oldWP | |
point | |
pos | |
Public Attributes inherited from draftguitools.gui_base_original.Creator | |
support | |
Public Attributes inherited from draftguitools.gui_base_original.DraftTool | |
call | |
commitList | |
constrain | |
doc | |
extendedCopy | |
featureName | |
node | |
obj | |
planetrack | |
point | |
pos | |
support | |
ui | |
view | |
Detailed Description
Gui command for the Wire or Polyline tool. It inherits the `Line` class, and calls essentially the same code, only this time the `wiremode` is set to `True`, so we are allowed to place more than two points.
Member Function Documentation
◆ Activated()
def draftguitools.gui_lines.Wire.Activated | ( | self | ) |
Execute when the command is called.
◆ GetResources()
def draftguitools.gui_lines.Wire.GetResources | ( | self | ) |
Set icon, menu and tooltip.
Reimplemented from draftguitools.gui_lines.Line.
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_lines.py