Section creation

The generic section

class structuralcodes.sections.GenericSection(geometry: SurfaceGeometry | CompoundGeometry, name: str | None = None, integrator: Literal['marin', 'fiber'] = 'marin', **kwargs)[source]

This is the implementation of the generic class section.

The section is a 2D geometry where Y axis is horizontal while Z axis is vertical.

The moments and curvatures around Y and Z axes are assumed positive according to RHR.

geometry

The geometry of the section.

Type:

Union(SurfaceGeometry, CompoundGeometry)

name

The name of the section.

Type:

str

section_calculator

The object responsible for performing different calculations on the section (e.g. bending strength, moment curvature, etc.).

Type:

GenericSectionCalculator

__init__(geometry: SurfaceGeometry | CompoundGeometry, name: str | None = None, integrator: Literal['marin', 'fiber'] = 'marin', **kwargs) None[source]

Initialize a GenericSection.

Parameters:
  • geometry (Union(SurfaceGeometry, CompoundGeometry)) – The geometry of the section.

  • name (str) – The name of the section.

  • integrator (str) – The name of the SectionIntegrator to use.

property gross_properties: GrossProperties

Return the gross properties of the section.