Commit Graph

23 Commits

Author SHA1 Message Date
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
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
d8998a73b3 format project 2021-08-01 17:09:47 +10: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
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
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
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
c142860433 Move encoded script logic together 2021-06-13 06:17:01 +10:00
Kurt Hutten
77d0fcb336 Update read me to reflect openscad and cadquery changes
Resolves #336.
2021-06-04 18:24:14 +10:00
Kurt Hutten
913045fe12 Improve browser caching with cache control header
Not only does the header need to be added, but the signed URL needs to
have it's expiry rounded so that the return url is the same for a given
window, say 10minutes

I followed this https://advancedweb.hu/cacheable-s3-signed-urls/
basically what this means is that because we're caching the assets
themselves, if as user asks for a part that already exists we'll return
a url for the existing part instead of regenerating it, however if it
was them that generated the part less than 10 minutes ago, they'll still
have to download the asset again. This way it will save us costs and
will be quicker for them.

Resolves #334
2021-05-31 16:56:21 +10:00
Kurt Hutten
bd7aa4cc4e Make sure the code-init is robust when local storage is empty
Plus fix local storage for old code
2021-05-30 13:59:16 +10:00
Kurt Hutten
bd58e6c7cb Add stl download for OpenSCAD and CadQuery IDEs
Resolves #330.
2021-05-30 08:11:46 +10:00
Kurt Hutten
315492a08a Add s3 integration
Doing so has a number of benefits
- Overcome the 10Mb limit of the API gateway the lambdas have to go
through
- By storing the key as the hash of the code we can return previous
generated assets, i.e. caching
- cost, transfering assets into the bucket within the AWS ecosystem
is faster than return, and there fore the lambdas execute for less time
- Sets us up for the future as when generating artifacts for repos when
there is a change to master etc we want to store these assets somewhere
and s3 is an obvious choice
- Solved a weird CORS issue where I couldn't get CORS working with
binaryMediaTypes enabled, don't need binary types when dumping in s3

Resolves #316
2021-05-18 07:13:08 +10:00
Kurt Hutten
78677a99f8 Attempt to at move app into app sub dir 2021-05-01 07:32:21 +10:00