FreeCAD Python
Functions
ArchRebar Namespace Reference

Detailed Description

The Rebar object and tools.

This module provides tools to build Rebar objects. Rebars (or Reinforcing Bars) are metallic bars placed inside concrete structures to reinforce them.

Functions

def makeRebar (baseobj=None, sketch=None, diameter=None, amount=1, offset=None, name="Rebar")
 
def CalculatePlacement (baramount, barnumber, bardiameter, size, axis, rotation, offsetstart, offsetend, RebarShape="")
 
def CustomSpacingPlacement (spacinglist, barnumber, axis, rotation, offsetstart, offsetend)
 
def strprocessOfCustomSpacing (span_string)
 
def getLengthOfRebar (rebar)
 

Function Documentation

◆ CalculatePlacement()

def ArchRebar.CalculatePlacement (   baramount,
  barnumber,
  bardiameter,
  size,
  axis,
  rotation,
  offsetstart,
  offsetend,
  RebarShape = "" 
)
CalculatePlacement([baramount, barnumber, bardiameter, size, axis, rotation, offsetstart, offsetend, RebarShape]):
Calculate the placement of the bar from given values.

◆ CustomSpacingPlacement()

def ArchRebar.CustomSpacingPlacement (   spacinglist,
  barnumber,
  axis,
  rotation,
  offsetstart,
  offsetend 
)
CustomSpacingPlacement(spacinglist, barnumber, axis, rotation, offsetstart, offsetend):
Calculate placement of the bar from custom spacing list.

◆ getLengthOfRebar()

def ArchRebar.getLengthOfRebar (   rebar)
getLengthOfRebar(RebarObject): Calculates the length of the rebar.

◆ makeRebar()

def ArchRebar.makeRebar (   baseobj = None,
  sketch = None,
  diameter = None,
  amount = 1,
  offset = None,
  name = "Rebar" 
)
makeRebar([baseobj,sketch,diameter,amount,offset,name]): adds a Reinforcement Bar object
to the given structural object, using the given sketch as profile.

◆ strprocessOfCustomSpacing()

def ArchRebar.strprocessOfCustomSpacing (   span_string)
strprocessOfCustomSpacing(span_string): This function take input
in specific syntax and return output in the form of list. For eg.
Input: "3@100+2@200+3@100"
Output: [100, 100, 100, 200, 200, 100, 100, 100]