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.
|
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) |
|
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.
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]