new Settings(unit_system, vertical_axis)
Create a settings object using the default values
Parameters:
Name | Type | Default | Description |
---|---|---|---|
unit_system |
'metric' | 'imperial' | ||
vertical_axis |
"Y" | "Z" | Y |
Defaults to Y |
Methods
(static) set(settings_object)
Set individual properties of the settings object.
Parameters:
Name | Type | Description |
---|---|---|
settings_object |
SettingsObject |
An object of key value pairs. |
Example
const settings = new SettingsObject();
settings.set({
"vertical_axis": "Z",
"auto_stabilize_model": true
})
Type Definitions
SettingsObject :Object
Properties:
Name | Type | Description |
---|---|---|
units |
UnitsObject | |
precision |
"fixed" | "exponential" | |
precision_values |
number |
An integer from 1 to 15 |
evaluation_points |
number |
An integer from 3 to 50 |
vertical_axis |
"Y" | "Z" | |
solver_timeout |
number |
Any integer in seconds |
accurate_buckling_shape |
boolean |
true | false |
buckling_johnson |
boolean |
true | false |
non_linear_tolerance |
number |
E.g. 1 = 1% |
non_linear_theory |
"small" | "finite" | |
auto_stabilize_model |
boolean |
true | false |
member_offsets_axis |
"global" | "local" |