Rebar Addon for FreeCAD
Public Member Functions | List of all members
RebarTools.HelicalRebarTool Class Reference
Collaboration diagram for RebarTools.HelicalRebarTool:
Collaboration graph

Public Member Functions

def GetResources (self)
 
def IsActive (self)
 
def Activated (self)
 

Detailed Description

Definition at line 122 of file RebarTools.py.

Member Function Documentation

def RebarTools.HelicalRebarTool.Activated (   self)

Definition at line 135 of file RebarTools.py.

135  def Activated(self):
136  import HelicalRebar
137  # Call to CommandHelicalRebar() function
139 
140 FreeCADGui.addCommand('Arch_Rebar_Straight', StraightRebarTool())
141 FreeCADGui.addCommand('Arch_Rebar_UShape', UShapeRebarTool())
142 FreeCADGui.addCommand('Arch_Rebar_LShape', LShapeRebarTool())
143 FreeCADGui.addCommand('Arch_Rebar_Stirrup', StirrupTool())
144 FreeCADGui.addCommand('Arch_Rebar_BentShape', BentShapeRebarTool())
145 FreeCADGui.addCommand('Arch_Rebar_Helical', HelicalRebarTool())
146 
147 # List of all rebar commands
def CommandHelicalRebar()

Here is the call graph for this function:

def RebarTools.HelicalRebarTool.GetResources (   self)

Definition at line 124 of file RebarTools.py.

124  def GetResources(self):
125  return {'Pixmap' : os.path.split(os.path.abspath(__file__))[0]+'/icons/dropdown_list/HelixShapeRebar.svg',
126  'MenuText': QT_TRANSLATE_NOOP("RebarAddon", "Helical Rebar"),
127  'ToolTip' : QT_TRANSLATE_NOOP("RebarAddon", "Creates a Helical bar reinforcement from the selected face of the Structural element.")}
128 
def RebarTools.HelicalRebarTool.IsActive (   self)

Definition at line 129 of file RebarTools.py.

129  def IsActive(self):
130  if FreeCADGui.ActiveDocument:
131  return True
132  else:
133  return False
134 

The documentation for this class was generated from the following file: