Commit Graph

93 Commits

Author SHA1 Message Date
Matteo Cominetti 040dbd1254 Merge branch 'main' into alan/frontend/activity-stream 2021-07-26 15:24:43 +02:00
luz paz ad97cdf444 Fix various typos
Found via `codespell -q 3 -L optio,promisses,usera`
2021-07-22 09:23:21 -04:00
Alan Rynne 284758c288 feat(frontend): Activity stream advances. 2021-07-07 10:41:45 +02:00
Dimitrie Stefanescu 3a3fd7d963 refactor(viewer): linting yay 2021-07-05 09:11:44 +01:00
Dimitrie Stefanescu b476fd5f8c fix(viewer): swaps dimensions for correct box display 2021-07-05 09:00:49 +01:00
Alan Rynne 8f1645ba17 fix(viewer): Force bbox to not render 2021-06-09 17:04:39 +02:00
Alan Rynne 29413d6894 fix(viewer): Adds box conversion to buffer geometry 2021-06-09 16:32:50 +02:00
Dimitrie Stefanescu dcd21f8bf2 chore(viewer): removes (revoked) api token 2021-05-20 20:42:40 +01:00
Dimitrie Stefanescu 178747d0c5 fix(viewer): closes #231 (passes in parent units in curve display value conversion) 2021-05-20 20:40:15 +01:00
Dimitrie Stefanescu a357e770f4 feat(viewer): added unit support for blocks & nested blocks
note: this is a bit of a wider change as extra scaling flags needed to be added to prevent it when
not needed - namely inside block instances, which get transformed anyway later; otherwise double
scaling would happen.
2021-05-20 20:08:43 +01:00
Dimitrie Stefanescu 921a82caee style(viewer): cleanup 2021-05-20 17:56:39 +01:00
Dimitrie Stefanescu 90abe98986 feat(viewer): handles block object selection 2021-05-20 17:54:47 +01:00
Dimitrie Stefanescu 1729b0c583 feat(viewer): preliminary blocks & nested block support 2021-05-20 16:30:42 +01:00
Dimitrie Stefanescu 889bb27631 fix(viewer): accounts for empty arrays when dechunking 2021-05-17 17:25:58 +01:00
Dimitrie Stefanescu e0eba09d79 refactor(viewer): removes unused files & cleans up console logs 2021-05-13 18:51:43 +01:00
Dimitrie Stefanescu 1567c341ae feat(viewer): adds pointcloud support 2021-05-13 18:48:47 +01:00
Dimitrie Stefanescu 0ee8c86504 feat(viewer): last loaded url is stored locally and persisted between page refreshes
makes debugging easier!
2021-05-13 18:48:19 +01:00
Dimitrie Stefanescu c836e531ee fix(viewer): wraps up #218
and removes expired token. note: only public streams will work in the viewer example app
2021-05-10 22:41:43 +01:00
Dimitrie Stefanescu 2e72408d76 fix(viewer): style police: dangling code removal 2021-05-10 22:37:47 +01:00
Dimitrie Stefanescu 3e95142a36 feat(viewer): adds support for 🌈 meshes 2021-05-10 22:15:05 +01:00
Dimitrie Stefanescu b1f963451f feat(viewer): adds handling for named views (partly closes #193) 2021-05-10 17:15:44 +01:00
Dimitrie Stefanescu f327aa5f8a improvement(viewer): selection events now emit actual object user metadata 2021-05-07 12:13:42 +01:00
Alan Rynne 6d293724ea fix(viewer): Fixed Arc conversion
Added PlaneToMatrix4 conversion (pos, rot, scale)
2021-04-29 11:58:58 +02:00
Alan Rynne 41f91e9bbb viewer: Fixed ellipse conversion 2021-04-28 14:05:14 +02:00
Dimitrie Stefanescu 23ef3e8f30 feat(viewer): adds method to customise camera max polar angle at runtime
this controls wether the camera can look from down upwards - by default this is off, but now it can
be easily re-enabled.
2021-04-26 21:11:03 +01:00
Dimitrie Stefanescu bff56f3fd4 feat(viewer): adds section box on/off events 2021-04-26 21:03:56 +01:00
Dimitrie Stefanescu acc5e75528 fix(viewer): adds null checks on obj doubleclick events 2021-04-26 20:57:22 +01:00
Dimitrie Stefanescu 5eeeae53a1 feat(viewer): adds selection & doubleclick events 2021-04-26 20:57:03 +01:00
Dimitrie Stefanescu 8ce8180130 fix(viewer): fixes some conversion errors & closes #151 2021-04-26 20:36:18 +01:00
Dimitrie Stefanescu a5dcff873e feat(viewer): adds buttons for some of the new functionality in the example app 2021-04-23 20:02:08 +01:00
Dimitrie Stefanescu 3165b8ad01 feat(viewer): adds rotateTo func for top, bottom, side, etc. views 2021-04-23 19:47:29 +01:00
Dimitrie Stefanescu f3ada78463 feat(viewer): adds native screenshot capability (image/png) 2021-04-23 16:21:38 +01:00
Dimitrie Stefanescu c11630fc14 feat(viewer): adds several optional parameters to various functions
(1) post load function skipping; (2) zoom fit; (3) zoom transitions; (4) camera rotation;
2021-04-23 15:34:40 +01:00
Dimitrie Stefanescu e95962cd63 improvement(viewer): cleans up example file 2021-04-23 15:32:40 +01:00
Cristian Balas 09de8184a7 viewer.loadObject now returns after loading (#187) 2021-04-22 13:47:03 +03:00
Dimitrie Stefanescu ff5c35a685 feat(viewer/frontend): shows alert if no objects were loaded in viewer 2021-03-26 19:56:36 +00:00
Dimitrie Stefanescu 52a9829752 improvement(viewer): emits a warning if no 3d objects are found during the load process 2021-03-26 18:43:09 +00:00
Dimitrie Stefanescu 846223fbb9 fix(viewer): allows non-auth requests to happen; error converted to console warning 2021-03-26 09:39:15 +00:00
Dimitrie Stefanescu e0641639da feat(loader): separated object loader into separate package 2021-03-25 17:27:29 +00:00
Alan Rynne 0c832c69ea fix(viewer): Removed unnecessary warning 2021-03-11 12:39:03 +01:00
Alan Rynne 8e13907786 fix(viewer): Arc and circle radius bug 2021-03-11 12:27:49 +01:00
Alan Rynne b90f1c157d fix(units): Arc and circle now use conversionFactor 2021-03-10 15:57:29 +01:00
Dimitrie Stefanescu 400f01baf6 fix(viewer): selecting curves now working as it should
split up selection handling logic per object type, and not supporting points because of bbox issues
and general zoom to object constraints (for now)
2021-02-25 19:08:27 +00:00
Dimitrie Stefanescu d15dddc3a0 improvement(viewer): removes hot try catch (keeps conversion stub as commented code) 2021-02-25 18:39:35 +00:00
Alan Rynne decfc63665 fix(viewer): Missing bbox delete in line 2021-02-25 11:49:28 +01:00
Alan Rynne db5d35f5d8 fix(viewer): Delete bbox to prevent further conversions 2021-02-25 11:48:08 +01:00
Alan Rynne 853b5b2b8d Merge remote-tracking branch 'origin/main' into alan/viewer/conversion-fixes 2021-02-25 11:17:52 +01:00
Alan Rynne de30150cb5 fix(viewer): Curve conversions + disposing 2021-02-25 11:14:29 +01:00
Alan Rynne 5ce2548c74 fix(viewer): Updated conversions to new point format 2021-02-24 22:50:05 +01:00
Dimitrie Stefanescu fd03ed789b feat(viewer): adds optional inclusion box test for selection helper 2021-02-21 22:42:59 +00:00