Extends
Methods
(static) add(material)
Add a default material to the model.
Parameters:
Name | Type | Description |
---|---|---|
material |
"Structural Steel" | "Aluminium" | "Carbon Fibre Reinforced Plastic" | "Concrete" | "Concrete High Strength" | "Oakwood" | "Glass" |
The material name. |
(static) addCustom(name, density, elasticity_modulus, poissons_ratio, yield_strength, ultimate_strength, _class)
Create a custom material with the next available ID.
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. |