archetypal.template.structure.MassRatio

class archetypal.template.structure.MassRatio(HighLoadRatio=None, Material=None, NormalRatio=None, **kwargs)[source]

Handles the properties of the mass ratio for building template structure.

Initialize a MassRatio object with parameters.

Parameters
property HighLoadRatio

Get or set the high load ratio [kg/m2].

property Material

Get or set the structure OpaqueMaterial.

property NormalRatio

Get or set the normal load ratio [kg/m2].

to_dict()[source]

Return MassRatio dictionary representation.

mapping()[source]

Get a dict based on the object properties, useful for dict repr.

get_unique()[source]

Return the first of all the created objects that is equivalent to self.

classmethod generic()[source]

Create generic MassRatio object.

duplicate()[source]

Get copy of self.