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

Public Member Functions

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

Detailed Description

Definition at line 104 of file RebarTools.py.

Member Function Documentation

def RebarTools.BentShapeRebarTool.Activated (   self)

Definition at line 117 of file RebarTools.py.

117  def Activated(self):
118  import BentShapeRebar
119  # Call to CommandBentShaepRebar() function
121 
def CommandBentShapeRebar()

Here is the call graph for this function:

def RebarTools.BentShapeRebarTool.GetResources (   self)

Definition at line 106 of file RebarTools.py.

106  def GetResources(self):
107  return {'Pixmap' : os.path.split(os.path.abspath(__file__))[0]+'/icons/dropdown_list/BentShapeRebar.svg',
108  'MenuText': QT_TRANSLATE_NOOP("RebarAddon", "Bent-Shape Rebar"),
109  'ToolTip' : QT_TRANSLATE_NOOP("RebarAddon", "Creates a BentShape bar reinforcement from the selected face of the Structural element.")}
110 
def RebarTools.BentShapeRebarTool.IsActive (   self)

Definition at line 111 of file RebarTools.py.

111  def IsActive(self):
112  if FreeCADGui.ActiveDocument:
113  return True
114  else:
115  return False
116 

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