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

Public Member Functions

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

Detailed Description

Definition at line 32 of file RebarTools.py.

Member Function Documentation

def RebarTools.StraightRebarTool.Activated (   self)

Definition at line 45 of file RebarTools.py.

45  def Activated(self):
46  import StraightRebar
47  # Call to CommandStraightRebar() function
49 
def CommandStraightRebar()

Here is the call graph for this function:

def RebarTools.StraightRebarTool.GetResources (   self)

Definition at line 34 of file RebarTools.py.

34  def GetResources(self):
35  return {'Pixmap' : os.path.split(os.path.abspath(__file__))[0]+'/icons/dropdown_list/StraightRebar.svg',
36  'MenuText': QT_TRANSLATE_NOOP("RebarAddon", "Straight Rebar"),
37  'ToolTip' : QT_TRANSLATE_NOOP("RebarAddon", "Creates a Striaght bar reinforcement from the selected face of the Structural element.")}
38 
def RebarTools.StraightRebarTool.IsActive (   self)

Definition at line 39 of file RebarTools.py.

39  def IsActive(self):
40  if FreeCADGui.ActiveDocument:
41  return True
42  else:
43  return False
44 

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