UnitDisplay¶
- class concreteproperties.post.UnitDisplay(length: str, force: str, mass: str, radians: bool = True, length_factor: float = 1.0, force_factor: float = 1.0, mass_factor: float = 1.0)[source]¶
Bases:
objectClass for displaying units in
concreteproperties.- Variables:
length (str) – Length unit string
force (str) – Force unit string
mass (str) – Mass unit string
radians (bool) – If set to
True, displays angles in radians, otherwise displays angles in degrees. Defaults toTrue.length_factor (float) – Factor by which the
lengthunit differs from the base units. Defaults to1.0.force_factor (float) – Factor by which the
forceunit differs from the base units. Defaults to1.0.mass_factor (float) – Factor by which the
massunit differs from the base units. Defaults to1.0.
Methods
Attributes
Returns the angle scale.
Returns the angle unit string.
Returns the area scale.
Returns the area unit string.
Returns the flexural rigidity scale.
Returns the flexural rigidity unit string.
force_factorReturns the force scale.
Returns the force unit string.
Returns the length^3 scale.
Returns the length^3 unit string.
Returns the length^4 scale.
Returns the length^4 unit string.
length_factorReturns the length scale.
Returns the length unit string.
mass_factorReturns the mass/length scale.
Returns the mass/length unit string.
Returns the mass scale.
Returns the mass unit string.
Returns the moment scale.
Returns the moment unit string.
radiansReturns the stress scale.
Returns the stress unit string.
lengthforcemass