Commit Graph

38 Commits

Author SHA1 Message Date
AlexandruPopovici 3813b7752a Added two methods in the API for setting the section box dimensions, one based on inline box and another based on object ids. Removed internal section box dimension setting, this means that the clients need to set the section box size to whatever they want. Addd the feature when you would click on a section box face you can then drag it to resize the section box 2022-08-26 12:03:01 +03:00
Dimitrie Stefanescu 31c089b546 feat(viewer/frontend): latest changes 2022-08-25 11:17:43 +03:00
Dimitrie Stefanescu f378d88c19 feat(viewer/frontend): extra integration legwork 2022-08-25 10:28:48 +03:00
AlexandruPopovici 632ad53152 Added World to the API. Can be used to check world dimensions and offsets. Cleaned up and added some comment in Viewer. After removing the reference to a lot of issues arose. The frontend and preview-service seems to use it extensively. Changed the calls referencing the interactions to the ones in the API where it was aplicable, and commented out with a note added for the ones that were not aplicable. We proably need to expose a generic way to manipulate the camera from the API 2022-08-24 18:24:43 +03:00
AlexandruPopovici 25c74556d0 Sandbox uses official viewer API exclusively. Added ViewerEvent for any events that the viewer emits and updated the references everywhere 2022-08-24 16:42:11 +03:00
AlexandruPopovici 42844960aa #811 Integrated section box functionality, camera projection switching and fixed a few issues with the new viewer 2022-06-21 17:11:58 +03:00
AlexandruPopovici 499653d983 #811 Started taking the axe on a lot of legacy code which became obsolete after redux Stage 2. Turned ViewerObjectLoader to typescript and started moving a lot of stuff from viewer to a new class, SpeckleRenderer, which will centralize and handle a lot of stuff 2022-06-21 00:58:20 +03:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 6ea3ff1e63 style(viewer): fix eslint errors 2022-03-30 10:07:40 +02:00
Gergő Jedlicska 569b4688fa style(all): reformat with print width 88 2022-03-29 19:46:49 +02:00
Fabians aa5e94d640 chore: reformatting everything with prettier 2022-03-29 17:12:31 +03:00
Gergő Jedlicska bec96dbf28 Merge branch 'main' into dim/bubbles 2022-03-16 15:56:23 +01:00
Kristaps Fabians Geikins 8010bf3c4c feat: Standardized & cleaned up formatting & linting across repo #617 (#618)
* feat: Standardized & cleaned up formatting & linting across repo

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-03-16 10:10:30 +02:00
Dimitrie Stefanescu 8dc6cc790b feat(viewer): adds extra selection info & get section box method 2022-02-06 19:56:58 +00:00
Cristian Balas 1f378b9823 Viewer fixes (#495) 2021-12-13 18:06:09 +02:00
Dimitrie Stefanescu c53789fd89 feat(viewer): latest changes with @cristi8's help on block selection (still WIP) 2021-11-16 18:33:39 +00:00
Dimitrie Stefanescu 5ac2ff3f80 feat(viewer): clipping planes: impl in filtering materials; hidden in screenshots 2021-11-16 07:10:12 +00:00
Dimitrie Stefanescu a5e626b17b feat(viewer): tyding up a bit 2021-11-14 11:14:02 +00:00
Dimitrie Stefanescu 2562094d58 feat(viewer): various fixes, fiddles 2021-11-14 11:13:23 +00:00
Dimitrie Stefanescu 3a3fd7d963 refactor(viewer): linting yay 2021-07-05 09:11:44 +01:00
Dimitrie Stefanescu bff56f3fd4 feat(viewer): adds section box on/off events 2021-04-26 21:03:56 +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 73dca8dc3a refactor(viewer): cleanup 2021-02-21 22:02:22 +00:00
Dimitrie Stefanescu db2a3f01f6 feat(viewer): intermeidate step 2021-02-20 23:05:54 +00:00
Dimitrie Stefanescu 6f365fad73 feat(viewer): changes camera controls; makes zooming smoother; fixes selection handling timeouts 2021-02-19 10:36:22 +00:00
NGimbal e4b3510043 fix set from bbox bug 2021-02-10 23:18:19 -05:00
NGimbal 166af0956e reverted to section planes in material rather than renderer 2021-02-10 21:52:37 -05:00
NGimbal bf64f7f003 limit planes from crossing 2021-02-10 21:43:07 -05:00
NGimbal 7572d03f61 show sectionBox toggle in interface 2021-02-10 18:19:09 -05:00
NGimbal 04f35040d3 setFrom BBox 2021-02-06 19:33:39 -05:00
NGimbal 7c10805f5e cleaned up SelectionHelper constructor by making subset a THREE.Group which feels right 2021-02-06 16:52:35 -05:00
NGimbal 653e4c42ff set by box 2021-02-06 16:27:19 -05:00
NGimbal 2cc074ed5a properly oriented planes 2021-02-04 21:28:01 -05:00
NGimbal 35dc0464bb small comments 2021-02-03 13:14:36 -05:00
NGimbal 03466e056d dragging mostly works now 2021-02-03 13:04:04 -05:00
NGimbal b0f8f11383 towards good interactions 2021-02-02 16:46:54 -05:00
NGimbal dafb63d2b8 moved selection logic to Viewer from SelectionHelper 2021-01-30 21:09:29 -05:00
NGimbal 5a9863c2ac generalizing SelectionHelper 2021-01-30 12:14:25 -05:00