3.2.1. Abstract Section

class SectionAbstract[source]

Bases: ABC

The Abstract section should not be directly used. It contains interfaces that other structural classes inheret from. This includes unit definitions, and getters for section stiffness.

abstract getEIx(sUnit='Pa')[source]

Returns EI about the sections local x axis, which is generally the strong axis. Returns in units of sUnit x lUnit^4

Parameters
  • lUnit (float, optional) – The length units to output Ix in. The default is ‘m’.

  • sUnit (float, optional) – Stress units to output E in. The default is ‘Pa’.

Returns

The EIx for the section.

Return type

float.

abstract getEIy(sUnit='Pa')[source]

Returns EI about the sections local y axis, which is generally the weak axis. Returns in units of sUnit x lUnit^4

Parameters
  • lUnit (float, optional) – The length units to output Iy in. The default is ‘m’.

  • sUnit (float, optional) – Stress units to output E in. The default is ‘Pa’.

Returns

The EIy for the section.

Return type

float.

abstract getGAx(sUnit='Pa')[source]

Returns GA about the sections local x axis, which is generally the strong axis. Returns in units of sUnit x lUnit^2

Parameters
  • lUnit (float, optional) – The length units to output Ax in. The default is ‘m’.

  • sUnit (float, optional) – Stress units to output E in. The default is ‘Pa’.

Returns

The GAx for the section.

Return type

float.

abstract getGAy()[source]

Returns GA about the sections local y axis, which is generally the strong axis. Returns in units of sUnit x lUnit^2

Parameters
  • lUnit (float, optional) – The length units to output Ay in. The default is ‘m’.

  • sUnit (float, optional) – Stress units to output E in. The default is ‘Pa’.

Returns

The GAy for the section.

Return type

float.

lConvert(outputUnit: str)[source]

Get the conversion factor from the current unit to the output unit for length units

Parameters

outputUnit (str) – The unit to get the conversion factor to.

Returns

The conversion factor between the current length unit and the target output length unit.

Return type

float