Reinforcement profile

ReinforcementProfileBuilderFactory

get_available_reinforcements() -> list[ReinforcementProfileProtocol] staticmethod

Gets all available reinforcements defined in Koswat.

Returns:

get_reinforcement_builder(reinforcement_profile_type: type[ReinforcementProfileProtocol]) -> ReinforcementProfileBuilderProtocol staticmethod

Gets a valid reinforcement profile builder instance (ReinforcementProfileBuilderProtocol).

Parameters:
Raises:
  • NotImplementedError

    When there is no builder associated to the given reinforcement_profile_type.

Returns:

ReinforcementProfileBuilderProtocol

Bases: BuilderProtocol, Protocol

build() -> ReinforcementProfileProtocol

Builds a concrete instance of a ReinforcementProfileProtocol based on the required data.

Returns:

ReinforcementProfileProtocol

Bases: KoswatProfileProtocol, Protocol

Extension of the KoswatProfileProtocol to define the properties of a calculated reinforcement.

Outside slope

Standard

StandardReinforcementProfileBuilder

Bases: ReinforcementProfileBuilderBase

get_input_profile_calculator(reinforcement_type: type[StandardReinforcementProfile]) -> ReinforcementInputProfileCalculationProtocol staticmethod

Get the input profile calculator for the given reinforcement type.

Parameters:
  • reinforcement_type (type[StandardReinforcementProfile]) –

    The reinforcement type.

Raises:
  • NotImplementedError

    The given reinforcement type is not supported.

Returns:
  • ReinforcementInputProfileCalculationProtocol( ReinforcementInputProfileCalculationProtocol ) –

    The input profile calculator.