Commit Graph

872 Commits

Author SHA1 Message Date
Frank Noirot
82dd3d2555 FEAT: Create basic model embed (#588)
* initial commit, issue with OpenSCAD embed viewing

* initial implementation

* Fix openscad size bug

* Add overlays to embed

* Remove console.log and reuse exact query

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2022-01-11 17:30:15 +11:00
Scott Martin
e7dec57644 Add "STL Download" to project profile page (#585)
* Moved EditorMenu/helpers.ts file to src/helpers. Reused STL download helper on a new button in the project profile page

* Tweak download STL style - flex-wrap the column and grow original "built with" content so the button is pushed write but remains responsive on smaller screens
2022-01-11 06:48:20 +11:00
Davor Hrg
35fcd55229 Update jsCadController.tsx (#583) 2022-01-09 06:33:13 +11:00
Davor Hrg
3fef6474d3 default values and float type (#582) 2022-01-09 06:32:32 +11:00
Kurt Hutten
cd3060b3c7 Update CONTRIBUTING.md
CC @Isaac-Tait
2021-12-17 05:57:31 +11: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
Kurt Hutten
70d4c40eac Add message for curv static image 2021-11-30 17:04:02 +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
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
a62c5bce03 Update OpenSCAD userGuide 2021-11-12 07:29:44 +11:00
Kurt Hutten
149b2b6360 bounding sphere fix (#572) 2021-11-06 13:36:53 +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
a909188f15 Increment contributor count 2021-10-24 07:12:04 +11:00
Jaakko Mäntylä
e8da05be8c Use project title as stl name (#570) 2021-10-24 07:09:46 +11:00
Kurt Hutten
dd0178d554 Add expressing intent blog post 2021-10-22 20:56:57 +11:00
Kurt Hutten
e3efb1a3dd Improve types in menuConfig 2021-10-21 07:08:50 +11:00
Kurt Hutten
cd90c3ce49 Update curated code cad 2021-10-20 15:31:08 +11:00
Kurt Hutten
1ea4f9bdd5 Remove the glitch effect on the home page. (#567)
I three people mention to me "what is getting all distorted. Obviously
it's not clear that it's a stylistic effect. plus the home page
animation is busy enough as it is.
2021-10-20 14:25:34 +11:00
Jay Clark
e5f2552fc9 Fix customizer input size (#565)
Signed-off-by: Jay Clark <jay@jayeclark.dev>
2021-10-20 14:19:39 +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
Kurt Hutten
e26beda598 Fix zoom to fit bug 2021-10-18 07:42:00 +11:00
Kurt Hutten
c402b051e2 Fix stl download bug 2021-10-18 07:25:38 +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
0bc759cf9e Lint project 2021-10-17 05:42:25 +11:00
Leonel Jara
a4cfc37576 Add zoom to fit on first load (#561)
* get the bounding box of assets and get controls Ref

* Add zoom to fit on first load

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-10-17 05:40:58 +11:00
Kurt Hutten
bc1f12971d Make-cq-customizer-more-resilient (#560)
Was failing when initial values were missing
2021-10-16 03:59:19 +11:00
Kurt Hutten
50cd44cd76 Linting 2021-10-16 03:37:59 +11:00
Kurt Hutten
55917395b4 Refactor recent projects into it's own cell (#558) 2021-10-16 03:35:44 +11:00
Frank Noirot
dc92920481 Merge pull request #557 from Irev-Dev/franknoirot/add-recent-projects
Added recent projects list to logged-in nav
2021-10-15 09:24:28 -04: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
Frank Johnson
77014f0d36 Added recent projects list to logged-in nav 2021-10-13 17:03:44 -04:00
Kurt Hutten
3df903ffc6 Linting 2021-10-13 20:22:49 +11:00
Kurt Hutten
68fa10437e Remove dead code 2021-10-13 20:15:37 +11:00
Kurt Hutten
342953b25f Update contributor count 2021-10-13 18:45:58 +11:00
Kurt Hutten
421ceee88d Format and tweak 554 2021-10-13 05:56:17 +11:00
Javier González Bodas
ae05a79e58 Add modal for alerting that is neccesary to fork the project. Remove unused import component (#554) 2021-10-13 05:55:23 +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
4804c3bfe9 Put social media save popover into editor tab (#541)
and make them live
2021-10-12 06:09:56 +11:00
Lucas Barros
6c093e65bf Add project fork to seed file (#552) 2021-10-12 05:54:08 +11:00
Kurt Hutten
4b9a8591ab Some changes to the side tray to help make writing an issue for #540 (#551) 2021-10-11 07:46:42 +11:00
Kurt Hutten
9f769d6a61 Improve preprender docs and format 2021-10-08 17:04:00 +11:00
Kurt Hutten
32d6ef27ad Attempt 2 at fixing prerendering error 2021-10-07 21:25:07 +11:00
Kurt Hutten
c4c195074b Update cad lambda docs 2021-10-07 20:22:51 +11:00
Kurt Hutten
3f6d919f22 Add jscad to metadata 2021-10-05 19:04:47 +11:00
Kurt Hutten
aabe682782 Fix netify's prerendering service (#546)
If there's an error in netlify's prerendering service,
we don't have access to the log so we have to spin it up locally to
check.

textures was causing a issue on the home page resulting in "Fatal Error"
as the social preview text, not good.

As a bonus I thing I fix FE sentry logging too.
2021-10-05 18:52:24 +11:00
Kurt Hutten
5efaec4df0 Update contributor count
maybe this should be dynamic, but not too hard to update as well
2021-10-02 10:03:51 +10:00
Kurt Hutten
6d0c832f6f Add glitch to homepage (#542) 2021-10-01 21:48:13 +10:00
Kurt Hutten
66dc04d98e Add sign up toast message 2021-10-01 21:22:02 +10:00