Commit Graph

204 Commits

Author SHA1 Message Date
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
8efae75699 Remove console log 2021-03-17 19:44:08 +11:00
Frank Noirot
02dcb60d5e added multiplication by device pixel ratio to render 2021-03-17 00:20:31 -04:00
Kurt Hutten
b2c53e6097 Update cascade submodule 2021-03-16 20:52:36 +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
df3f492aee Add default camera settings 2021-03-14 10:23:24 +11: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
39f408bd49 Move local development openSCAD url to env vars
I think this make it easier to swap between using the aws endpoint and
local endpoint but without having to worry about accidentally committing
the local endpoint if you absent mindedly staging everything, and it
still defaults to aws so it's easy setup for anyone doing a fresh clone.

add OPENSCAD_BASE_URL="http://localhost:8080" to you .env file.

You will have to restart yarn rw dev for the url to swap over though.

Resolves #242
2021-03-13 17:26:09 +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
fe8cc63c3b added comments to get a proper commit in 2021-03-04 23:34:19 -05: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
7053357c47 Add new ide to separate unlisted page.
related to #218
2021-03-05 08:09:43 +11: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
2391f29eab Upgrade redwood to version 0.26.0 2021-02-28 20:30:59 +11:00
Kurt Hutten
990af22c90 Upgrade redwood to version 0.24.0 2021-02-28 18:10:16 +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
98d6196b73 Update CascadeStudio with current master
resolves #205
2021-02-07 16:51:35 +11:00
Kurt Hutten
231829942e Fixes new CascadeStudio integrations missed by #202 2021-01-25 06:03:06 +11: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