Commit Graph

22 Commits

Author SHA1 Message Date
Kurt Hutten
f61280ef00 Kurt 611 (#612)
* disable python exectution

* update prod url
2022-07-31 08:42:39 +10:00
Kurt Hutten
cef1d34c6f Give more ram to openscad preview image container
Speeds up the preview images
2021-12-02 07:24:39 +11:00
Lee
2dec867803 Initial work to support curv (#578)
* Initial work to support curv

* Correct the initial code file location

* Preview and stl mvp working

* Prepare changes for review and preview build

* Run curv inside of /tmp

When exporting an stl it writes temporary files which is not allowed
when deployed to aws unless it's in temp.

* Lock in specific curv commit for reproducible builds

see: https://discord.com/channels/412182089279209474/886321278821216277/912507472441401385

* Add curv to backend schema

* Frontend changes to accommodate curv deploy

* Use vcount instead of vsize, as it's independant of geometry size,

This is good for CadHub usecase where we don't know anything about the
user's project

* Final tweaks for deploy

virtual screen size does matter,and curv is a little more memory hungry
than the other functions

* Format project

Co-authored-by: lf94 <inbox@leefallat.ca>
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-11-30 15:24:24 +11:00
Kurt Hutten
43fc897bf9 Zoom to fit for openscad (#569)
* Add viewall flag to openscad cli in prep for zoom to fit for scad previews

* Fix remaining issues with social image capture
2021-11-06 09:46:55 +11:00
Kurt Hutten
434eb0ef86 Release CQ customizer (#559)
* Switched to Miniconda image

* Update cad endpoint url

and some minor tweaks

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
2021-10-15 18:06:31 +11:00
Kurt Hutten
8170da854d Fix JSCAD download (#528) 2021-09-24 17:59:09 +10:00
Kurt Hutten
2e2e7be633 Fix console error messages 2021-09-09 18:36:11 +10:00
Kurt Hutten
4a3144d360 Remove s3
but also upgrade the cad lamdbas to use built javascript files,
allowing us to use typescript, and patching redwood
2021-09-04 23:52:44 +10:00
Kurt Hutten
01a28f4d53 upgrade redwood to v 0.36 2021-08-31 20:12:18 +10:00
Kurt Hutten
04261355b7 Up date prod cad endpoint 2021-08-28 07:50:59 +10:00
Kurt Hutten
87f132a684 Add customizer support for OpenSCAD
This also includes sending metadata and part of the concatenated gzip,
not in the s3 metadata as that has a 2kb limit.

Resolves #320
2021-08-27 06:52:04 +10:00
Kurt Hutten
b0647171d8 r3f-ify jsCadController 2021-08-21 11:04:01 +10:00
Kurt Hutten
0cc335ea9b Add demo for cadhub customizer
relates to #437
2021-08-21 11:02:18 +10:00
Kurt Hutten
dcd9d42d32 deeply compare old and new params 2021-08-07 21:26:11 +10:00
Kurt Hutten
02160e1e8e store latest params in the store 2021-08-07 17:09:56 +10:00
Kurt Hutten
2d7df96ad9 Add a few type improvements to jscadParams.ts 2021-08-07 15:49:53 +10:00
Kurt Hutten
7cc989014a format project 2021-08-06 20:17:55 +10:00
Davor Hrg
77ee959c43 working somewhat ok 2021-08-02 23:24:26 +02:00
Kurt Hutten
336501aaff add customizerParams to state 2021-08-02 23:19:57 +10:00
Kurt Hutten
9e968479fc Formatting after #411 2021-07-18 08:37:48 +10:00
Kurt Hutten
21608b740a Add demo CAD kernel Controller, and typing to suit
We might be adding JSCAD soon and adding some guidance on the happy
path with good typing for the CadKernels is a good idea

related to #411
2021-07-18 08:24:32 +10:00
Kurt Hutten
f176bbe090 Use high quality render for CadQuery download 2021-07-04 20:48:11 +10:00