Introduction


The following are some of the JavaScript functions used in S3D. You can test these by typing them into the developer console when on S3D.

caution

These functions are used for SkyCiv Apps and are different to the API functions. To use these functions with the API, you will need to incorporate them using the S3D.model.script function. It is not recommended to use these as the basis of your API solutions, but are helpful for workarounds.

If you need additional functions, email us at [email protected] and let us know!


General#

Notes:

  • Throughout the documentation the term "elements" refers to any elements that make up the model object (nodes, members, plates, etc). Inside the model object (S3D.structure) members are referred to as elements.
  • Certain variables should not be used as they might interfere with global variables in S3D. This will be removed in a future update, however for now the following variables should be avoided:
nodes;
elements;
sections;
supports;
pointLoads;
distributedLoads;
moments;
member_prestress_loads;
pressures;
area_loads;
area_loads_DLs;
area_loads_PLs;
loadCombos;
settlements;
plates;
meshedPlates;
groups;
filters;

SkyCiv Apps#

When developing a SkyCiv App, all S3D functions in this section will be at your disposal. If any functions appear undocumented please let us know in the live chat on the platform.