Creating the API Object
#
API ObjectIn this example we are creating the entire payload object by supplying the following components:
- The
auth
object - The
options
object - The
functions
array - an array of objects defining which functions to run[ {...}, {...}, ... ]
- Starting a session - using function
S3D.session.start
- Setting the model - using function
S3D.model.set
- Running an analysis - using function
S3D.model.solve
- Starting a session - using function
example-request-object.js
View this Sample in Action
s3d_model
#
Sample The model data is the JSON formatted object you create that describes your structure. The following is an example of a simple beam.
s3d_model-example.json
If the S3D.file.save
function is used, this model will be available on SkyCiv's S3D platform for later viewing.
The following image is a visual representation of what the JSON model object above will create.
