ccd1c14e09
* Fixed sandbox lint error * Gave up with trying to enforce a standard basis across camera controller and applications. Now getPosition and getTarget will always be in whatever basis the camera controller is set to be * No more pre-transformation to (0, 1, 0) for canonical and speckle views and when computin nearest point on geometry * Reverted transformations from onboarding * Updated comments * Fixed the issue where if thread was active at stream load time, the camera position and orientation would be off. This specific issue occured only at startup and it was because the min.max radius for the orbit controls were not yet computed, the frontend calling setView before the orbit controls had a chance to update and compute it's min/max. Also fixed an issue where min distance computation was not using the correct camera positon, but rather the goal position
The Speckle Viewer
Documentation
Complete documentation here Migration guide here
Examples
You can find readily available examples in the documentation here
Development
- 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.
Feedback
We would love to hear your feedback in this forum thread.
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.