Commit Graph

338 Commits

Author SHA1 Message Date
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
cc1c0e7278 Update Docker docs 2021-03-21 05:22:22 +11:00
Kurt Hutten
f345b1c106 Merge pull request #263 from Irev-Dev/kurt/262
Kurt/262
2021-03-20 10:35:13 +11:00
Kurt Hutten
b349cd3fdd Upgrade redwood to 0.27.1
resolves #262
2021-03-20 10:34:16 +11:00
Kurt Hutten
73c3a7c6f4 Lazy load monaco editor
related to #262
2021-03-20 10:06:17 +11:00
Kurt Hutten
dba9ad8810 Merge pull request #258 from Irev-Dev/franknoirot/239
added multiplication by device pixel ratio to render
2021-03-17 19:45:05 +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
8b9d29ef05 Merge pull request #254 from Irev-Dev/kurt/253
Encode code into url to make sharing snippets easy
2021-03-16 20:28:25 +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
03ce3530c1 Merge pull request #251 from Irev-Dev/kurt/239
Adjust render image size with mosiac panel change
2021-03-15 18:12:42 +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
aee882b47c Merge pull request #249 from Irev-Dev/kurt/couple-tweaks
Kurt/couple tweaks
2021-03-14 09:52:55 +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
c4005f149f Merge pull request #244 from Irev-Dev/kurt/241
Fix OpenSCAD move sync
2021-03-13 18:36:47 +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
ba45e3ea57 Merge pull request #243 from Irev-Dev/kurt/242
Move local development openSCAD url to env vars
2021-03-13 17:26:56 +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
0f41622566 Merge pull request #238 from Irev-Dev/kurt/237
Fix camera perspective and other polish for openscad viewer
2021-03-13 17:14:47 +11:00
Kurt Hutten
e5149f2c95 Tidy up 2021-03-13 17:10:15 +11:00
Kurt Hutten
b70e14cfd9 Merge pull request #236 from Irev-Dev/kurt/235
Convert between Three.js's euler rotation and Openscad's camera
2021-03-12 19:56:57 +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
3058170057 Merge pull request #233 from Irev-Dev/franknoirot/218
Added initial Monaco Editor to dev-ide, made console pane scrollable
2021-03-10 20:19:26 +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
Kurt Hutten
54db551fc1 Merge pull request #232 from Irev-Dev/kurt/227
set up local development for openscad lamdas
2021-03-10 19:04:36 +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
384d8231e8 Merge pull request #230 from Irev-Dev/franknoirot/218
added react-mosaic-component to IdeContainer.js
2021-03-09 19:44:40 +11:00
Kurt Hutten
6f5d078eb9 Merge branch 'main' into franknoirot/218 2021-03-09 19:31:11 +11:00
Kurt Hutten
d03c130197 Merge pull request #228 from Irev-Dev/kurt/219-222
Create and deploy simple openscad api
2021-03-09 18:40:49 +11:00
Frank Noirot
f6981b41b1 added react-mosaic-component to IdeContainer.js 2021-03-09 01:44:14 -05:00
Kurt Hutten
3aff4b65b2 Clean up and add comments 2021-03-07 18:27:38 +11: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
Kurt Hutten
8493838f0c Merge pull request #224 from Irev-Dev/franknoirot/218
Showing state being passed into `useIdeState` dispatch middleware
2021-03-05 17:29:42 +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
3f03cb375d Merge pull request #223 from Irev-Dev/kurt/ide-scaffold-or-ideas
Add ide scaffold to build on
2021-03-05 10:21:30 +11:00