new Material(name, density, elasticity_modulus, poissons_ratio, yield_strength, ultimate_strength, _class)
Creates an instance of the SkyCiv Material class.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
The name of the material. |
density |
number |
The density of the material. |
elasticity_modulus |
number |
The Modulus of Elasticity of the material. |
poissons_ratio |
number |
The Poisson's Ratio for the material. |
yield_strength |
number |
The Yield strength of the material. |
ultimate_strength |
number |
The Ultimate strength the material. |
_class |
"steel" | "aluminium" | "masonry" | "concrete" | "wood" | "other" |
The type of material. |