Commit Graph

160 Commits

Author SHA1 Message Date
Kurt Hutten
98363afb38 Tidy up the light bit of theming 2021-04-27 18:43:18 +10:00
Kurt Hutten
320e8e4fb8 Fix bug where images was being converted to stl and erroring 2021-04-26 19:18:53 +10:00
Kurt Hutten
924de4c7a1 Tighten up buttons a little 2021-04-26 18:03:59 +10:00
Kurt Hutten
0f4a9b07b4 Pretty up the IDE a little 2021-04-26 17:59:22 +10:00
Kurt Hutten
76a570b0c3 Init multiple types of cadPackages 2021-04-26 07:48:52 +10:00
Kurt Hutten
2153e5b1bf Front end changes for cadquery
Basic changes to get the proof of concept working. Lots of attention
was given to the store/reducer to solve existing problems with async
code and stale closures, it seems even today how to handle this with
use reducer is not quiet settle, I guess because once an app reaches
a certain level of maturity everyone grabs an off the shelf solution
to state management. I ended up implementing thunks because they are
really rather simple. Interesting thread about it all here:
https://gist.github.com/astoilkov/013c513e33fe95fa8846348038d8fe42#gistcomment-3377800

I also move some of settings that were persisted in the openScad
controller into the data store as I ulimately thing what I was doing
in that file was very confusing, with the fact that it had to be
called multiple times with different information before it would be able
to render something properly.
2021-04-18 12:28:23 +10:00
Kurt Hutten
1bf4370815 Update view on window resize 2021-03-21 16:07:24 +11:00
Kurt Hutten
ab394ed564 Make the ide more full screen like 2021-03-21 15:30:27 +11:00
Kurt Hutten
fef69917f5 Add storage for openscad code 2021-03-21 14:59:47 +11:00
Kurt Hutten
f9f35183af Send console message with healthy render 2021-03-21 14:48:54 +11:00
Kurt Hutten
73c3a7c6f4 Lazy load monaco editor
related to #262
2021-03-20 10:06:17 +11:00
Kurt Hutten
01bc76e09a Encode code into url to make sharing snippets easy
resolves #253
2021-03-16 20:26:58 +11:00
Kurt Hutten
b6867fc8a8 Move viewport state into openscad controller 2021-03-14 17:41:29 +11:00
Frank Noirot
785025fca8 initial commit with full-size image, but broken OpenSCAD image source size. 2021-03-13 20:37:02 -05:00
Kurt Hutten
a2454a3f80 Remove openscad specific state from ideState 2021-03-14 09:49:58 +11:00
Kurt Hutten
44c8192d81 Add ctrl|meta + s for generating new preview 2021-03-14 09:38:22 +11:00
Kurt Hutten
d7ebb00c3b Couple of tweaks 2021-03-14 08:59:29 +11:00
Kurt Hutten
1de49b66dc Fix OpenSCAD move sync
Hard to capture in a title. when you move the object with right-click drag, that axis move away from the shape.

resolves #241
2021-03-13 17:29:26 +11:00
Kurt Hutten
e5149f2c95 Tidy up 2021-03-13 17:10:15 +11:00
Kurt Hutten
23e34a0a64 Add loading spinner on scroll 2021-03-12 19:48:33 +11:00
Kurt Hutten
a1c3d7a300 Load first render on init
will probably have to change in future when the code is loaded async too
ok for now.
2021-03-12 19:02:43 +11:00
Kurt Hutten
d3e7012669 Add debounce to image fetch, add loading spinner other polish
related #235
2021-03-12 18:54:17 +11:00
Kurt Hutten
5094996a02 Match camera fov between cameras, add axes
related to #235
2021-03-12 16:17:31 +11:00
Kurt Hutten
fc7ebcc437 Convert between Three.js's euler rotation and Openscad's camera
Resolves #235
2021-03-12 08:30:08 +11:00
Kurt Hutten
02de0927ba Bunch of tweaks
Resolves #225 and # 226
a weird state issue and some formatting
2021-03-10 20:47:40 +11:00
Kurt Hutten
2b87d6a474 Add small issue with callback 2021-03-10 20:14:14 +11:00
Kurt Hutten
faf6ae66ce Merge branch 'main' into franknoirot/218 2021-03-10 19:05:48 +11:00
Frank Noirot
7410efada0 Added initial Monaco Editor to dev-ide, made console pane scrollable 2021-03-10 00:55:14 -05:00
Kurt Hutten
10062513fd set up local development for openscad lamdas
and make a start on combining with Three.js IdeViewer
Resolves #227

related #231
2021-03-10 08:14:32 +11:00
Kurt Hutten
6f5d078eb9 Merge branch 'main' into franknoirot/218 2021-03-09 19:31:11 +11:00
Frank Noirot
f6981b41b1 added react-mosaic-component to IdeContainer.js 2021-03-09 01:44:14 -05:00
Kurt Hutten
63c2a79a5d Create and deploy simple openscad api
A minimal frontend integration has been added to as a POC

resolves #219 and #222
2021-03-07 17:32:18 +11:00
Frank Noirot
661797b9a3 Showing state being passed into useIdeState dispatch middleware to change ideType. 2021-03-04 23:06:07 -05:00
Kurt Hutten
6097866034 Add ide scaffold or ideas
related to #218
2021-03-04 21:46:40 +11:00
Kurt Hutten
05653c358b Link to road map in the app and README
it's a good idea to link to the roadmap somewhere in the app. It's a
good way of letting folks who are interested in Cadhub see where it's
going. Link to the GH discussion for now.

Maybe later if we're confident in the features we want and we've added
docs to the website we can add something a bit more official.

Add a link to the read me as well!
resolves #213
2021-02-28 21:10:23 +11:00
Kurt Hutten
794ff480fd capture image on initial save
similar to #111
2021-02-27 13:24:48 +11:00
Frank Noirot
3cae431e61 Reverted to screenshot confirmation flow, fixed layout bug, updated language to Save 2021-02-26 20:02:52 -05:00
Frank Noirot
7fab53d200 removed unused code 2021-02-25 21:26:25 -05:00
Frank Noirot
fa3141266e Updated screenshot functionality to focus on Set Part Image per Figma feedback 2021-02-25 20:14:44 -05:00
Frank Noirot
8bc98bb834 Added ability to update part image using captured screenshot 2021-02-25 04:52:01 -05:00
Frank Noirot
2ea8d5c2b5 added initial capture popup UI, added ability to download capture 2021-02-25 04:04:35 -05:00
Frank Noirot
6e6425735f Began building out screenshot capture feature. 2021-02-25 01:50:03 -05:00
Kurt Hutten
bb70b29324 Update integration to use bundled version of CascadeStudio
resolves #139
2021-01-24 21:24:49 +11:00
Kurt Hutten
a21cc0a75f Few tweaks before merge 2021-01-24 13:12:08 +11:00
Yen Colon
02032c2804 exposing who likes a part 2021-01-19 23:46:36 -04:00
Yen Colon
f5e588fbc4 improving part reactions ui 2021-01-19 23:44:15 -04:00
Yen Colon
dcf376754b implementing reactions cell and component 2021-01-19 22:23:11 -04:00
Yen Colon
136f2966b5 adding fetch preactions by partId 2021-01-19 22:19:40 -04:00
Yen Colon
26235158fa reactions cells 2021-01-15 10:25:28 -04:00
Kurt Hutten
3b09ea4e2a Refresh cache on mutation by fetching new data in mutation
resolves #195
2020-12-31 18:26:42 +11:00