CadQuery MVP integration #281

Merged
Irev-Dev merged 15 commits from kurt/274 into main 2021-04-27 11:53:52 +02:00

15 Commits

Author SHA1 Message Date
Kurt Hutten
7b104a812d Update lamda base url 2021-04-27 19:52:49 +10:00
Kurt Hutten
d6401d8395 Make local storage key, package agnostic 2021-04-27 18:50:36 +10:00
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
4ebf5921e2 Merge remote-tracking branch 'origin/main' into kurt/274 2021-04-25 19:57:17 +10:00
Kurt Hutten
4702bafc27 Set up staging/preview cad base url 2021-04-23 16:32:22 +10:00
Kurt Hutten
80868ba483 Get cadquery and openscad working with more reuse on the backend 2021-04-23 16:24:51 +10:00
Kurt Hutten
9cf02980cc Use release package instead to avoid conda permission issues
conda permission issue would arise only when deployed. Side stepped this
issue by using the release package instead.

Also cleaned up the docker file. Still need to remove duplication
between openscad and cadquery apis
2021-04-23 07:41:55 +10:00
Kurt Hutten
35d5c02f96 OpenSCAD and CadQuery working together in dev
Still clean up of the backend/lamdas, and there's a conda permission
issue when deploying the Cadquery image
2021-04-18 17:46:03 +10:00
Kurt Hutten
7733694032 Initial cadQuery backend POC
lost of clean up work still needed.
2021-04-18 13:43:44 +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
Jeremy Wright
1a702ddae1 Added hacked cadquery Dockerfile to ensure it would work 2021-04-14 13:17:44 -04:00