SelfWeights

SelfWeights

new SelfWeights()

Creates an instance of the SkyCiv SelfWeights class.

Source:

Extends

Methods

add(x, y, z, LG)

Add an instance of self-weight.

Parameters:
Name Type Default Description
x number 0

Acceleration due to gravity in the x-axis, defined as a multiplier of the gravitational constant g.

y number 0

Acceleration due to gravity in the y-axis, defined as a multiplier of the gravitational constant g.

z number 0

Acceleration due to gravity in the z-axis, defined as a multiplier of the gravitational constant g.

LG string SW1

The load group that the self-weight belongs to. Defaults to existing value.

Source:

disable(id)

Disables an instance of self-weight.

Parameters:
Name Type Default Description
id number 1

The ID of the self-weight to disable.

Source: