Wiki

Clone wiki

strupy / pill

###Description This module contain collection of basic ready to use StruPy objects, there are:

MaterialConcrete
MaterialRcsteel
MaterialSteel
SectionBase
u
rcsteel_area

###Source code >>>


###Use examples

In [1]: from strupy.pill import *

In [2]: SectionBase.get_sectionparameters('IPE 270')
Out[2]: 
{'Ax': 45.94 [cm2],
 'Ay': 27.54 [cm2],
 'Az': 18.04 [cm2],
 'Iomega':  7.06 [cm4],
  ....
 'vpz': 13.50 [cm],
 'vy':  6.75 [cm],
 'vz': 13.50 [cm]}

In [3]: MaterialConcrete.concretename
Out[3]: 'C25/30'

In [4]: MaterialConcrete.fcd
Out[4]: 16.70 [MPa]

In [5]: MaterialRcsteel.rcsteelname
Out[5]: 'B500'

In [6]: 3 * u.cm2 * MaterialRcsteel.fyd
Out[6]: 126000.00 [N]

In [7]: (3 * u.cm2 * MaterialRcsteel.fyd).asUnit(u.kN)
Out[7]: 126.00 [kN]

In [8]: rcsteel_area.area_diameter(12*u.mm)
Out[8]:  1.13 [cm2]

| up | | Home page |

Updated