API Documentation

sections Module

GenericSection

class cross_section.sections.GenericSection(A: float, y_c: float, z_c: float, I_yy: float, I_zz: float, I_yz: float)

Generic section with properties area, centre of gravity, moments of inertia.

MaterialisedGenericSection

class cross_section.sections.MaterialisedGenericSection(A: float, y_c: float, z_c: float, I_yy: float, I_zz: float, I_yz: float, E: float)

Bases: GenericSection

Generic section with properties area, centre of gravity, moments of inertia, and material stiffness.

RingSection

class cross_section.sections.RingSection(outer_diameter: float, wall_thickness: float, y_c: float = 0.0, z_c: float = 0.0)

Bases: object

Circular hollow section with properties area, centre of gravity, Moments of Inertia.

combine_sections

cross_section.sections.combine_sections(sections: Collection[GenericSection]) GenericSection

Calculate the sectional properties of combined sections.

Args:

sections (Iterable[GenericSection]): list or tuple of GenericSections

Returns:

GenericSection: Combined section

idealised_section

cross_section.sections.idealised_section(sections: Collection[GenericSection], youngs_moduli: Collection[float], reference_modulus: float) MaterialisedGenericSection

Calculate an idealised section on basis of a reference Young’s modulus.

Args:

sections (Collection[GenericSection]): [description] youngs_moduli (Collection[float]): [description] reference_modulus (float) : [description]

Returns:

MaterialisedGenericSection: [description]