Commit Graph

93 Commits

Author SHA1 Message Date
Kurt Hutten
9797405834 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
2021-11-30 11:58:14 +11:00
Kurt Hutten
e8ae6193e4 Add curv to backend schema 2021-11-30 08:01:24 +11:00
Kurt Hutten
ca22ec28fc Lock in specific curv commit for reproducible builds
see: https://discord.com/channels/412182089279209474/886321278821216277/912507472441401385
2021-11-29 14:07:02 +11:00
Kurt Hutten
fe059384d3 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.
2021-11-22 20:05:10 +11:00
Kurt Hutten
0face9b9c1 Prepare changes for review and preview build 2021-11-21 18:14:16 +11:00
Kurt Hutten
b1ff7796b9 Preview and stl mvp working 2021-11-21 17:49:22 +11:00
lf94
146da84b62 Initial work to support curv 2021-11-19 23:36:57 -05:00
Kurt Hutten
e9859d85b8 Kurt/upgrade rw 38 (#575)
* Upgrade to rw 38

* Prisma migrate after V3 upgrade

* rw 0.38.1
2021-11-13 11:53:42 +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
219f341972 Kurt/rw 37 upgrade (#566)
* Update readme

* Upgrade redwood to 0.37.x
2021-10-20 14:10:19 +11:00
Lucas Barros
f7172be68b Pass current code as input for fork mutation (#563) 2021-10-17 11:41:26 +11:00
Kurt Hutten
da0a4d6f1c Add initial code to seed script 2021-10-17 10:23:49 +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
Jeremy Wright
96ee9c4aa4 Add CadQuery customizer (#547)
* Rough changes to make the CadQuery integration work with the customizer

* Tweak runCQ

* Switched to Anaconda

* Cleaned up code

* Update CadHub after anaconda

Related to #547

* Add final tweaks to CQ customizer

* Separated out customizer.json from params.json

* Changes after discussing CadHub integration

* linting runCQ

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-10-15 02:39:03 +11:00
Kurt Hutten
3df903ffc6 Linting 2021-10-13 20:22:49 +11:00
Lucas Barros
6c093e65bf Add project fork to seed file (#552) 2021-10-12 05:54:08 +11:00
Kurt Hutten
c4c195074b Update cad lambda docs 2021-10-07 20:22:51 +11:00
Kurt Hutten
3aa3254e48 Add more verification to sign up 2021-09-30 20:28:13 +10:00
Kurt Hutten
879f24b08b Delete project properly as it's not causing problems with forking logic (#539) 2021-09-29 19:04:35 +10:00
Frank Johnson
7540c908e7 Added link in ProjectProfile and fork count to ProjectCard 2021-09-28 06:18:41 +10:00
Kurt Hutten
dd152709ff Add forking graphQL resolvers 2021-09-28 06:18:41 +10:00
Frank Johnson
2d7fb91f92 added navigation to new project on fork 2021-09-28 06:18:41 +10:00
Kurt Hutten
02463db741 Start project fork feature
Updated schema, project service and UI
Still some polish to go.

Co-authored-by: Frank Noirot <franknoirot@users.noreply.github.com>
2021-09-28 06:18:41 +10:00
Kurt Hutten
c19658b7f8 Enforce name and username with length 2021-09-24 05:26:51 +10:00
Frank Noirot
335dac8677 Show empty KeyValue's if editing (#526)
* Show empty KeyValue's if editing

* Add verification to name and user name, enforce length

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-09-23 18:51:44 +10:00
Kurt Hutten
f6df9d1988 upgrade rw + lint (#521)
* Various linting fixes

* Fix component name

* Upgrade to redwood 0.36.4
2021-09-20 19:08:03 +10:00
Kurt Hutten
e526fa812e Improve three scene performance and add JSCAD
- smoothed follow mouse animation
- made mobile friendlier down to about 330px ish
- added default social image
- used smaller hero asset
2021-09-12 14:40:10 +10:00
Kurt Hutten
12ab456446 format 2021-09-10 18:45:03 +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
f5113da9c2 Upgrade redwood to v 0.35 2021-08-31 18:35:51 +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
b4cdd3e1ef Tweak welcome message 2021-08-22 13:53:54 +10:00
Kurt Hutten
aa43a848a1 Format project 2021-08-22 12:26:06 +10:00
Kurt Hutten
1336ffc437 Fix editing project without social image. 2021-08-21 08:44:51 +10:00
Kurt Hutten
93a1c7a242 Invalidate social card on title or description change 2021-08-17 05:05:13 +10:00
Kurt Hutten
150ab45748 minimize social cards sdl 2021-08-17 03:35:15 +10:00
Kurt Hutten
9fa22a0469 got something working thats only a little hacky 2021-08-16 18:45:33 +10:00
Kurt Hutten
32155ba98c Get image upload to cloudinary with the same public id
This means we can put a consistent url in the head for the card image
2021-08-14 15:19:48 +10:00
Kurt Hutten
7bd3cb44f8 Fix typo 2021-08-12 07:07:56 +10:00
Kurt Hutten
0ae5065aaf Add welcome message 2021-08-12 06:14:40 +10:00
Kurt Hutten
3d02143422 Bunch of teaks to IdeViewer
- add grid
- slit normals
- resync openscad camera with three camera
- fix stl download for CQ and openscad
- clean up failed preview image attempt
2021-08-09 18:12:14 +10:00
Kurt Hutten
39cbdc749b get deployments working again 2021-08-01 20:39:26 +10:00
Kurt Hutten
625db5e26b Merge branch 'main' into kurt/411-demo-branch 2021-08-01 09:46:41 +10:00
Kurt Hutten
ad0e9c1d4d format project 2021-08-01 09:44:10 +10:00
Kurt Hutten
caf944716b Move og-image-gen out of functions folder 2021-08-01 09:42:15 +10:00
Kurt Hutten
22f3fb6e3e Remove og image types 2021-08-01 04:45:43 +10:00
Kurt Hutten
6d68b939be try moving things into dev dependencies 2021-07-31 17:26:10 +10:00
Kurt Hutten
5c673a6a01 attempt to got functions to deploy 2021-07-31 17:04:20 +10:00