Commit Graph

15 Commits

Author SHA1 Message Date
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
Davor Hrg
549217e953 Hide console option in view menu (#545)
* Update menuConfig.tsx

* Revert "Update menuConfig.tsx"

This reverts commit 7be28e2a76.

* second attempt

* Update mosaic tree to remove and add the console.

* Added Toggle UI component

* Remove console noise from Toggle component

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
Co-authored-by: Frank Johnson <frankjohnson1993@gmail.com>
2021-10-12 20:44:16 +11:00
Kurt Hutten
bb4659a2dd Make raw-loader more specific and use .js extension for jscad
suggestion for #519
2021-09-19 20:13:28 +10:00
Frank Johnson
b27bcd2d35 Completed initial CAD package guides, tweaked initial code import 2021-09-18 23:16:43 -04:00
Frank Johnson
34757cf535 Finished fixing nav, tweaked KeyValue edit btn 2021-09-12 12:38:16 -04:00
Frank Johnson
55d48057da Initial profile refactor of layout and config 2021-09-12 05:03:58 -04:00
Kurt Hutten
b8fa22eede Redo homepage to @franknoirot 's new designs
Not finished but enough for a mvp
designs; https://www.figma.com/file/VUh53RdncjZ7NuFYj0RGB9/CadHub?node-id=1652%3A4224
2021-09-11 23:15:28 +10:00
Frank Noirot
5d128c6cbd Merge pull request #497 from Irev-Dev/franknoirot/style-tweaks
minor style tweaks to editor
2021-09-08 17:23:29 -04:00
Frank Johnson
51bc32aad0 minor style tweaks to editor 2021-09-08 02:52:45 -04:00
Kurt Hutten
22da074965 Move worker into webpack build
The jscad worker code was hosted as a static asset, making it odd
javascript where we have to be conscious of what javascript features we
can use and if it will work on older browsers, plus it can't be
typescript like the rest of the codebase.

Since redwood 0.36 we using webpack 5 should make loading workers easy
https://webpack.js.org/guides/web-workers/
But I had trouble with this (see:
https://community.redwoodjs.com/t/has-anyone-tried-workers-with-webpack-5-rw0-36-x/2394)
and instead used the webpack 4 loader without any issues

This issue relates to #411 , and is a checklist item on #444
Resolves #494
2021-09-08 06:16:52 +10:00
Kurt Hutten
7f4eb85106 Make new project card
designs
https://www.figma.com/file/VUh53RdncjZ7NuFYj0RGB9/CadHub?node-id=1150%3A1619
Resolves #492
2021-09-07 20:05:51 +10:00
Kurt Hutten
1c13a38ccb Fix font imports after tailwind upgrade 2021-09-03 07:02:19 +10:00
Kurt Hutten
01a28f4d53 upgrade redwood to v 0.36 2021-08-31 20:12:18 +10:00
Kurt Hutten
8e558d2342 massive refactor toDrop cascadeStudio and add CadQuery + OpenSCAD
resolves #400
2021-07-17 17:47:29 +10:00
Kurt Hutten
78677a99f8 Attempt to at move app into app sub dir 2021-05-01 07:32:21 +10:00