fconcrete.StructuralConcrete.LongSteelBar.LongSteelBar module

class fconcrete.StructuralConcrete.LongSteelBar.LongSteelBar.LongSteelBar(long_begin, long_end, quantity, quantity_accumulated, diameter, area, area_accumulated, fyd, interspace, length, cost)[source]

Bases: object

Methods

getMinimumAndMaximumSteelArea(area, fck) Giving the fck in kN/cmˆ2, returns the minimum and maximum area.
getPlotInfo(self[, prop]) Plot the Long Steel Bar giving the property.
getSteelArea(section, material, steel, momentum) Giving the section, material, type of steel and momentum, this funciton calculates the necessary steel area.
static getMinimumAndMaximumSteelArea(area, fck)[source]

Giving the fck in kN/cmˆ2, returns the minimum and maximum area.

getPlotInfo(self, prop='area_accumulated')[source]

Plot the Long Steel Bar giving the property.

static getSteelArea(section, material, steel, momentum)[source]

Giving the section, material, type of steel and momentum, this funciton calculates the necessary steel area.

class fconcrete.StructuralConcrete.LongSteelBar.LongSteelBar.LongSteelBars(steel_bars=[])[source]

Bases: object

Class that defines a LongSteelBar list with easy to work properties and methods.

Methods

add(self, new_steel_bars) Add a LongSteelBar to the LongSteelBars instance.
changeProperty(self, prop, function[, …]) Change all properties of the LongSteelBar in a single function.
getBarTransversalPosition(self, concrete_beam, x) Get the bars in a x transversal position, in cm.
getPositiveandNegativeLongSteelBarsInX(self, x) Get the bars in a x longitudinal position, in cm.
plot(self[, prop]) Plot the lonfitudinal vision of the longitudinal bars.
plotTransversal(self, concrete_beam, x[, …]) Plot the transversal vision of the longitudinal bars.
add(self, new_steel_bars)[source]

Add a LongSteelBar to the LongSteelBars instance.

changeProperty(self, prop, function, conditional=<function LongSteelBars.<lambda> at 0x7f5b520ba2f0>)[source]

Change all properties of the LongSteelBar in a single function.

getBarTransversalPosition(self, concrete_beam, x)[source]

Get the bars in a x transversal position, in cm.

Returns:
transversal_positions : array

Each array array contains the x, y position in the transversal section, the radius of the bar and its area: x, y, radius, area.

getPositiveandNegativeLongSteelBarsInX(self, x)[source]

Get the bars in a x longitudinal position, in cm.

Returns:
positive_steel_bar_in_x : LongSteelBars

The positive steel bar found in x.

negative_steel_bar_in_x : LongSteelBars

The negative steel bar found in x.

plot(self, prop='area_accumulated', **options)[source]

Plot the lonfitudinal vision of the longitudinal bars.

plotTransversal(self, concrete_beam, x, ax=None, fig=None, color_plot='red', **options)[source]

Plot the transversal vision of the longitudinal bars.