37a94faa6c
* TAS does not only test for intersections on front facing triangles anymore * Raycasting against a billboard speckle text before it's first frame is rejected * Handled WBX-353. Fixed an issue where measurement gizmos were given incorrect screen sizes. Possible fix for incorrect NDC normal calculation for perpendicular measurement normal indicator. Needs more mafs * When computing the perp measurement's normal line indicator we don't apply the perspective divide anymore after computing the normal in clip space. This fixes the issue where -Y normal direction was almost never correctly reported * Removed log
The Speckle Viewer API 2.0
Documentation
Quick Reference guide here Complete documentation coming soon
Examples
You can find readily available examples here:
- Basic Setup
- Measurements Extension
- Obj Loader
- Expanding an Extension (Manipulating Objects)
- Custom Extension (Categorize)
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.