Starter Speckle web viewer project
This is a basic
html/js/csswebpage that uses our@speckle/viewerpackage and some basic queries through ourgraphQLAPI. 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:
mainbranch: Will contain the main geometry.- Any other existing branches should contain the different design options to visualise along side the
maingeometry.
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: Mainjsmodule for the websitespeckleQueries.jscontains severalgraphQLqueries we'll be using.speckleUtils.jscontains the functions to interact with the Speckle API.styles.css: Styles to used byindex.html