sajou.sections module¶
Define the classes and methods to work with sections.
-
class
sajou.sections.
BeamSection
(name, material, data, type='rectangular')¶ Bases:
object
Defines a beam section
Parameters: - name (str) – name of the section
- material (Material instance) – material of the section defined as an instance of Material object
- data (tuple) – properties of the section
- type (str) –
defines the type of cross-section
type data format ‘rectangular’: data=(width, height,)
‘circular’: data=(r, )
‘I-section’: data=(H, h_f, w_web, w_f)
‘general’: data=(A, I_3,)
-
calc_area
()¶ Calculate the area of the section
Returns: TODO
-
calc_inertia
()¶ Calculate the moment of inertia of the beam section
Returns: Iz, Iy
-
compute_properties
()¶ Compute all the mechanical properties for the given section
Returns: TODO
-
print_properties
()¶ Prints the properties of the BeamSection instance
Returns: TODO