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.
plot(self[, prop]) Plot the Long Steel Bar giving the property.
getSteelArea  
static getMinimumAndMaximumSteelArea(area, fck)[source]

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

static getSteelArea(section, material, steel, momentum)[source]
plot(self, prop='area_accumulated')[source]

Plot the Long Steel Bar giving the property.

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 0x7fe55d955950>)[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')[source]

Plot the lonfitudinal vision of the longitudinal bars.

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

Plot the transversal vision of the longitudinal bars.