1c78607942
* Implemented async walk for the world tree. Implemented asyn render tree building and async batch building. Implemented progressive loading * WIP tree walk async that actually works using a generator * Async walking now properly works and can be interrupted * Properly working async walk * Added loadObjectAsync function in the API which should be used if stream loading needs to be cancelled and for 'progressive' loading. Added a priority argument to the loadObjectAsync and to walkAsync functions which makes the async-iness so to speak configurable. * Refactored the sync and async subtree batch building to remove duplicate code. Changed some logs for better clarity * Fixed an issue with point clouds and material creation
The Speckle Viewer
Disclaimer
We're working to stabilize the 2.0 API, and until then there will be breaking changes.
Development
You can debug and test the viewer is through the viewer-sandbox package. Some simple steps to get going:
- run
yarnin the repo root to install and link all required dependencies. - run
yarn devin the viewer package (here) to start a dev build with automatic code refresing of the viewer code. - run
yarn devin the viewer-sandbox package to start the viewer sandbox.
API
The Viewer's API is documented here.
Community
If in trouble, the Speckle Community hangs out on the forum. Do join and introduce yourself! We're happy to help.
License
Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. If you have any questions, don't hesitate to get in touch with us via email.