SkyCiv Apps allow you to build your own App directly on top of SkyCiv Structural 3D. We have provided access to an extensive list of S3D functions to help you create custom tools.
You can activate various built in apps in your account settings. Once they have been toggled on, you will find them available in the Apps dropdown menu inside of S3D.
Below is the Bill of Materials App - one of the built in apps. This App gathers and displaus useful insights about the current model such as materials, sections, cost and more!
Apps should use functions only from the S3D Functions category.
To get started, simply open up SkyCiv Structural 3D. Then open your developer console by hitting
F12 (this may depend on your browser) and pasting the below code. This will install a sample app, you can continually copy and paste code into the Console.
|File name of your model.|
|Path in your cloud file storage.|
|HTML string of what should be displayed in the app.|
|Optional width setting for app window.|
|Optional height setting for app window.|
|URL of image to be used.|
|URL of image to be used within the app header.|
|Is the app window draggable. True by default.|
|Can user resize window? Used alongside |
|Function which runs when the app window is resized.|
|URL of documentation or help page.|
|Function which runs when the page loads the app.|
|Runs when the app is open for the first time.|
|Function to run after changes are made to your model in S3D.|
|Before the app is shown, run this function.|
|After the app is shown, run this function.|
|Before the app is hidden, run this function.|
|After the app is hidden, run this function.|
Once your app is initalized, you can call the following functions to make the most of your app.
SKYCIV_APPS.create() will create the app and add it to
SKYCIV_APPS as an object. You can then access all of the default and user defined functions for this app.
In the above example, we created an app. We now have access to the following functions from the console:
Once you've built and tested your app, email us at [email protected] to learn more about getting this installed on our platform for internal or public use!