new Support(node, restraint_code, tx, ty, tz, rx, ry, rz)
Creates an instance of the SkyCiv Support class.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
node |
number |
The ID of the node at which the support is located. |
|
restraint_code |
string | FFFFFF |
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 | 0 |
Spring stiffness for translation in the x-axis. Applies only if the restraint code character for translation in x = S. |
ty |
number | 0 |
Spring stiffness for translation in the y-axis. Applies only if the restraint code character for translation in y = S. |
tz |
number | 0 |
Spring stiffness for translation in the z-axis. Applies only if the restraint code character for translation in z= S. |
rx |
number | 0 |
Spring stiffness for rotation about the x-axis. Applies only if the restraint code character for rotation about x = S. |
ry |
number | 0 |
Spring stiffness for rotation about the y-axis. Applies only if the restraint code character for rotation about y = S. |
rz |
number | 0 |
Spring stiffness for rotation about the z-axis. Applies only if the restraint code character for rotation about z = S. |