Commit Graph
64 Commits
Author SHA1 Message Date
James Smith cefa60ca07 re-enable selectize on multiselect tag fields 2022-11-19 14:56:34 +00:00
James Smith c3102625cc make "add" the default, not the first matching tag 2022-11-18 18:35:56 +00:00
James Smith eb00fa073c add remove button to tag editors 2022-11-18 16:42:47 +00:00
James Smith f559a74031 include jQuery and selectize from HTML, outside esbuild 2022-08-02 15:02:26 +01:00
James Smith d0c4ad6327 set up cssbundling with bootstrap 2022-08-02 15:01:33 +01:00
James Smith 5307b1e0a3 set up jsbundling-rails 2022-08-02 15:00:36 +01:00
James Smith 62b48e7c81 remove activestorage
again, just for now, until we actually need it
2022-08-01 16:17:52 +01:00
James Smith ad1dbad763 update document load events for removal of turbolinks 2022-08-01 10:55:06 +01:00
James Smith 1187b50f76 remove turblinks
It might be confusing things and making the app slow down because of webgl contexts. Might bring it back once I have all that working properly.
2022-08-01 10:51:09 +01:00
James Smith 0874c0f58f Remove stimulus
We're not using it and I don't understand it (yet)
2022-08-01 10:48:00 +01:00
Phil Stenning 7f7b7e0356 refactor: add typings for typescript
Some of the typings were missing and lots of red lines appeared in vs-code, their should now be no errors  shown by the ts compiler.
2022-06-25 12:36:53 +01:00
James Smith 0a3b7ddac3 set renderer size to full canvas resolution, for pixel-perfect renderings. Resolves #452 2022-05-02 17:47:26 +01:00
Matthew Page e7188a4af5 lint fixes 2022-04-26 15:19:31 -07:00
Matthew Page 72379702b7 fix updating and add tests 2022-04-26 14:54:13 -07:00
Matthew Page b5e545e801 wip 2022-04-26 10:54:32 -07:00
Matthew Page 397753e7a1 wip 2022-04-22 09:37:29 -07:00
Matthew Page 849b356dd1 update to use selectize 2022-04-19 17:08:21 -07:00
Matthew Page 72bd274702 Minor tweaks to preview 2022-04-15 16:25:51 -07:00
Matthew Page 3f73298014 tslint fix 2022-04-15 11:15:11 -07:00
Matthew Page 7b216aad08 add support for select all to bulk edit 2022-04-13 09:47:22 -07:00
James Smith fba31060d5 offset default view in X 2022-01-06 22:02:21 +00:00
James Smith 2b89f4a9cf change Part to File, and combine with images 2022-01-06 17:14:30 +00:00
James Smith 90eceabe16 Configure grid size in mm with GRID_SIZE environment variable 2021-06-17 17:21:48 +01:00
James Smith b8758c725b calculate 10mm grid density automatically from size 2021-06-17 14:36:15 +01:00
James Smith 903ac34eff Disable zoom on model previews 2021-06-17 14:34:59 +01:00
James Smith a61f2d8014 show loading progress 2021-04-01 19:51:04 +01:00
James Smith c62d469c02 add loaders for 3mf and ply in view 2021-04-01 19:50:25 +01:00
James Smith aa59afe99b Replace rotation with orbit controls. Resolves #79
We could add autorotate back in easily using the autorotate property on orbitcontrols
2021-03-21 21:54:42 +00:00
James Smith a67c11d210 basic ts-standard linting 2021-03-19 11:44:10 +00:00
James Smith 95e5678d12 change all js to ts files 2021-03-19 10:30:19 +00:00
James Smith 728fb8b95d apply y_up setting to renderer 2021-03-19 10:30:18 +00:00
James Smith a452b09f93 fix cleanup errors 2021-03-07 01:34:40 +00:00
James Smith a10458720e start animation loop on load and cleanup when canvas goes off screen 2021-03-07 01:04:29 +00:00
James Smith e0c1cce089 only set up three.js context when the canvas becomes visible 2021-03-07 00:34:34 +00:00
James Smith 3f739cda2d don't need loading flag, intersection observer only fires on appear or disappear by default 2021-03-07 00:31:04 +00:00
James Smith 7e7114db65 refactor javascript into setup and onBecomeVisible methods 2021-03-07 00:22:59 +00:00
James Smith 58e15811bc use cocoon to edit model links 2021-03-01 23:20:54 +00:00
James Smith 68e51c49f2 Merge pull request #54 from Floppy/obj-loading
Load OBJ files properly
2021-02-25 01:45:54 +00:00
James Smith 38b1efec3a load all geometry from OBJ files
resolves #33
2021-02-25 01:40:50 +00:00
James Smith 2bd2ef0f82 temporary refactor of object creation 2021-02-25 01:33:52 +00:00
James Smith 87c8f83052 remove redundant THREE.Group 2021-02-25 01:29:57 +00:00
James Smith 906040eb24 add grid helper to scene, not loaded object 2021-02-24 22:59:03 +00:00
James Smith 59558c0fcf rotate entire scene 2021-02-24 22:58:30 +00:00
James Smith 3088e0940c automatically dispose of all geometry and materials in the scene 2021-02-24 22:56:51 +00:00
James Smith 96d36878e8 add bootstrap icons and make part buttons more compact 2021-02-24 00:14:49 +00:00
James Smith 98fcfb9e59 fix lint problems 2021-02-22 10:00:12 +00:00
James Smith f70776be7c Only load when the canvas becomes visible 2021-02-20 18:38:20 +00:00
James Smith f84913299b refactor preview renderer into a class 2021-02-20 18:14:08 +00:00
James Smith 9d9390ff16 shonky hack to show something for multi-mesh OBJ files 2021-02-13 11:45:47 +00:00
James Smith e24b9796be lint js 2021-02-09 22:03:02 +00:00