Build your own add-ons and apps directly on top of SkyCiv Structural 3D.
To get started, simply open up SkyCiv Structural 3D. Then open your developer console by hitting CTRL+SHIFT+J (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. E.g. Bill of Materials App re-calculates cost when a member is added/deleted.|
|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!