Supports

Supports

new Supports()

Creates an instance of the SkyCiv Supports class.

Source:

Extends

Methods

(static) add(node, restraint_code, tx, ty, tz, rx, ry, rz)

Create a support with the next available ID.

Parameters:
Name Type Description
node number

The ID of the node at which the support is located.

restraint_code string

A 6 character restraint code. See docs for restraint code https://skyciv.com/api/v3/docs/s3d-model#restraint-code. Defaults to 'FFFFFF'.

tx number

Spring stiffness for translation in the x-axis. Applies only if the restraint code character for translation in x = S.

ty number

Spring stiffness for translation in the y-axis. Applies only if the restraint code character for translation in y = S.

tz number

Spring stiffness for translation in the z-axis. Applies only if the restraint code character for translation in z= S.

rx number

Spring stiffness for rotation about the x-axis. Applies only if the restraint code character for rotation about x = S.

ry number

Spring stiffness for rotation about the y-axis. Applies only if the restraint code character for rotation about y = S.

rz number

Spring stiffness for rotation about the z-axis. Applies only if the restraint code character for rotation about z = S.

Source:

(static) idFromNodeId(node_id)

Find an supports's ID from the node ID which it is located.

Parameters:
Name Type Description
node_id number

The node ID of the support to find.

Source: