9fc6bb1923 | ||
---|---|---|
.. | ||
Readme.md | ||
app.js | ||
index.html | ||
speckleQueries.js | ||
speckleUtils.js | ||
styles.css |
Readme.md
Starter Speckle web viewer project
This is a basic
html/js/css
webpage that uses our@speckle/viewer
package and some basic queries through ourgraphQL
API. If you want to know more about Speckle as a developer platform, check our Developer Docs
The app allows you to view the main geometry of a stream and combine it with different design options (which would exist as different branches
in the stream)
The stream will be organised as follows:
main
branch: Will contain the main geometry.- Any other existing branches should contain the different design options to visualise along side the
main
geometry.
Usage
This demo should run directly in your browser. Just double click the index.html
file on this folder.
Repo structure
index.html
: Main html fileapp.js
: Mainjs
module for the websitespeckleQueries.js
contains severalgraphQL
queries we'll be using.speckleUtils.js
contains the functions to interact with the Speckle API.styles.css
: Styles to used byindex.html