Commit Graph

6 Commits

Author SHA1 Message Date
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
e9ad7180a7 Fixing linting problem from running yarn rw lint (#537)
✖ 118 problems (65 errors, 53 warnings) currently
2021-09-29 17:35:07 +10:00
Kurt Hutten
8170da854d Fix JSCAD download (#528) 2021-09-24 17:59:09 +10: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
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