Files
speckle-server/packages/viewer-sandbox
Alexandru Popovici ccd1c14e09 Threads Undead Patch (#2475)
* 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
2024-07-05 10:28:56 +03:00
..
2024-07-05 10:28:56 +03:00
2023-04-21 13:12:15 +03:00
2024-01-24 18:48:38 +02:00
2022-05-10 11:51:12 +03:00

@speckle/viewer-sandbox

Sandbox for testing, debugging & developing the viewer package.

Setup

Requirements

  • Node ^16

Setup Instructions

  • yarn in the repo root to configure project dependencies
  • yarn build in repo root to build all dependencies
  • yarn dev to run the sandbox, it's available at localhost:3033

Linting

Use yarn lint to run ESLint and you can also run yarn lint:tsc to lint with the TypeScript compiler.