Commit Graph

106 Commits

Author SHA1 Message Date
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
725e877f1b Update useIdeState.ts 2021-08-06 11:26:44 +02:00
Davor Hrg
e856f8208e Update useIdeState.ts 2021-08-06 11:26:00 +02:00
Davor Hrg
e851593c12 cleanup, few fixes 2021-08-06 11:22:09 +02:00
Davor Hrg
80b12a6e3a Merge branch 'kurt/customizer-start-320' of https://github.com/Irev-Dev/cadhub into kurt/customizer-start-320 2021-08-04 23:59:42 +02:00
Davor Hrg
00c0ae801a ... 2021-08-04 23:54:45 +02:00
Kurt Hutten
c9e3d3a708 Add live update checkbox to customizer 2021-08-05 07:44:21 +10:00
Davor Hrg
2b2080c232 more param types to check and style 2021-08-04 00:11:55 +02: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
5e14ad0829 fix constructor bug 2021-08-01 21:13:19 +10:00
Kurt Hutten
cedad90513 update import style 2021-08-01 19:53:05 +10:00
Davor Hrg
67d5d76d67 Delete CSGToBuffers.js 2021-08-01 10:47:58 +02:00
Kurt Hutten
43477d33cc useEntities directly 2021-08-01 17:15:07 +10:00
Kurt Hutten
d8998a73b3 format project 2021-08-01 17:09:47 +10:00
Davor Hrg
8162a182d7 Update jsCadController.ts 2021-07-31 21:03:44 +02:00
Davor Hrg
6e88e7030d Update jsCadController.ts 2021-07-27 10:47:29 +02:00
Davor Hrg
0b769a6524 something works 2021-07-27 10:36:02 +02:00
Kurt Hutten
3b1bb23563 getting some geometry into the 3d view 2021-07-27 07:48:56 +10:00
Davor Hrg
1479832b51 stupid typo 2021-07-26 23:01:51 +02:00
Davor Hrg
438a9135e4 unhealthy on err 2021-07-26 22:57:22 +02:00
Davor Hrg
1bfba591ea initial scrappy integration 2021-07-26 22:43:51 +02:00
Kurt Hutten
de71b8f67c Demo branch adding JSCAD type, without implementing the render
Related to #411
2021-07-25 20:59:53 +10:00
Kurt Hutten
68da3ce2c1 Fix subscriber name When signing up to newsletter
Resolves #420
2021-07-25 20:16:55 +10:00
Kurt Hutten
5a045fd89d solve weird issues where seperate query would fire each others oncempleted 2021-07-18 18:55:55 +10:00
Kurt Hutten
0100836e31 Fix renaming project title 2021-07-18 18:32:58 +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
8e558d2342 massive refactor toDrop cascadeStudio and add CadQuery + OpenSCAD
resolves #400
2021-07-17 17:47:29 +10:00
Kurt Hutten
f176bbe090 Use high quality render for CadQuery download 2021-07-04 20:48:11 +10:00
Kurt Hutten
70e55a039d Implement gzip compression for cad artifacts
The stls from CadQuery and OpenSCAD are not compressed and so we're
throwing away bandwidth and taking a performance hit by not gziping.

Gzip for s3 basically needs to be gziped before upload and than have

'content-type'      :  'text/stl'
'content-encoding'  :  'gzip'
set.

https://stackoverflow.com/questions/8080824/how-to-serve-gzipped-assets-from-amazon-s3

The obvious part that needs to change is putObject in
app/api/src/docker/common/utils.js but there might be a few more
nuances.

resolves #391
2021-07-03 08:25:20 +10:00
Kurt Hutten
5a4588ac7f Emergency fix for cad base url 2021-07-01 20:58:30 +10:00
Kurt Hutten
8f8dae70c2 Deploy optimized CadQuery stls 2021-06-29 18:43:43 +10:00
Kurt Hutten
7417499d4b Formatting 2021-06-29 17:17:21 +10:00
Kurt Hutten
e95d47cfdf Update default cq stl quality 2021-06-27 05:52:37 +10:00
Kurt Hutten
87e43ab7ce Add Cors headers to lamda timeout so they can be detected on the FE 2021-06-25 19:26:33 +10:00
Kurt Hutten
0773915fbc Update cq-cli to latest (beta) 2021-06-25 19:26:12 +10:00
Kurt Hutten
142bf2c890 Start adding ide colors, includes adding custom theme to openscad
Resolves #365
2021-06-16 21:49:24 +10:00
Kurt Hutten
155923b2e7 Add reset view to view dropdown in EditorMenu
Related to #360
2021-06-14 09:21:47 +10:00
Kurt Hutten
b65c4530b2 Tweak panel toolbars
See this thread:
https://discord.com/channels/775984095250612234/775984095250612240/853751444703543326

Related to #360
2021-06-14 08:49:52 +10:00
Kurt Hutten
da81942adc Run linting
related to #360
2021-06-13 06:33:03 +10:00
Kurt Hutten
c142860433 Move encoded script logic together 2021-06-13 06:17:01 +10:00
Kurt Hutten
3c18a24cb6 Add proper menu
related to #360
2021-06-12 19:20:24 +10:00
Kurt Hutten
15732a9ed7 Merge pull request #337 from Irev-Dev/kurt/docs-update-336
Update read me to reflect up and coming OpenSCAD and CadQuery integrations
2021-06-06 20:06:07 +10:00
Kurt Hutten
a0b588000a Replace redwood flash with toaster
https://community.redwoodjs.com/t/redwood-flash-is-being-replaced-with-react-hot-toast-how-to-update-your-project-v0-27-0/1921
Resolves #326.
2021-06-06 06:12:26 +10:00
Kurt Hutten
b868ab292b Add experimental support for OpenSCAD libraries
I've been able to get a proof of concept of downloading a openscad
library when the docker image builds
https://twitter.com/IrevDev/status/1400785325509660678
Since its experimental atm I'll leave it with just the one for now.

I've also got a local dev working again for the cad lambdas.

Resolves #338
2021-06-05 12:20:53 +10:00
Kurt Hutten
77d0fcb336 Update read me to reflect openscad and cadquery changes
Resolves #336.
2021-06-04 18:24:14 +10:00