standalone.foundation
The standalone.foundation
namespace provides functions to manage sessions for foundation design.
standalone.foundation.start
#
At the beginning of every API session, the session must be started. This function must be the first function in the array. This initiates a session and will return a session_id
which can be used in subsequent calls made in the following 30 minutes to skip the verification process, thereby dramatically reducing the time to response.
important
The start function must always be the first function even if session_id
is provided.
Key | Type | Accepts | Description | Default |
---|---|---|---|---|
keep_open | boolean | true , false | If the session should be kept on standby. If true , subsequent calls to the API using the session_id provided from the first call in lieu of key , will be 4-8x faster. | false |
After authenticating using the API key
, the response
object will contain some useful information. The session_id
key can be used to make further calls to the same session, skipping authentication if keep_open
was set to true
. The session_expiry_time
provides an approximate Unix time until the session expires. After this, the user must re-authenticate using their API key
.
tip
The returned session_id can be provided in the auth object of subsequent calls to make the request faster.
standalone.foundation.check
#
Simplified design checks can be performed without the need to run an analysis first. Note that standalone.foundation.start
should be called prior to this function.
The below samples demonstrate design models for various design standards and footing types. Whilst the documentation is being built for this module, a JSON template can be created by building the model in SkyCiv's Foundation Designer and then Exporting the model as a JSON file.
- ACI Iso.
- AS Iso.
- EN Iso.
- ACI Pile
- AS Pile
- EN Pile
- ACI Comb.
- AS Comb.
- EN Comb.