Frank Johnson
2d4977ba8f
Fixed TS errors with file
2021-09-19 01:05:51 -04:00
Frank Johnson
b27bcd2d35
Completed initial CAD package guides, tweaked initial code import
2021-09-18 23:16:43 -04:00
Frank Johnson
2f006d3e3b
Added test tabs, got closing and switching working
2021-09-18 19:54:54 -04:00
Kurt Hutten
cd1cecd774
Remove double icon
2021-09-18 16:19:31 +10:00
Frank Johnson
2ec3a0b202
Sorted out using <details> element, got ancestor clicks closing out to their level
2021-09-12 17:13:30 -04:00
Kurt Hutten
69c83d33b1
State controlled tray mvp
2021-09-12 19:54:31 +10:00
Kurt Hutten
3e26e3d420
Fix pre-render fail
2021-09-08 17:44:31 +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
Davor Hrg
5d79efbf15
choice input
2021-08-27 06:50:46 +10:00
Davor Hrg
2bc4d904c6
simplify default jscad script
2021-08-24 17:03:41 +02:00
Davor Hrg
9aa686b4a4
better default script
2021-08-23 11:54:45 +02:00
Kurt Hutten
b0647171d8
r3f-ify jsCadController
2021-08-21 11:04:01 +10:00
Kurt Hutten
0cc335ea9b
Add demo for cadhub customizer
...
relates to #437
2021-08-21 11:02:18 +10:00
Kurt Hutten
9186e457d9
Fix JSCAD, useEdgeSplit issue
2021-08-18 05:18:46 +10:00
Kurt Hutten
644ef8d189
EdgeSplit not flushing out old geometry
...
Mostly effecting CQ, changing the script and updating leaves a ghost of
the old geometry in the viewer
Resolves #459
2021-08-17 05:13:30 +10:00
Kurt Hutten
580dbb88e6
Some clean up
2021-08-16 20:06:17 +10:00
Kurt Hutten
9fa22a0469
got something working thats only a little hacky
2021-08-16 18:45:33 +10:00
Kurt Hutten
32155ba98c
Get image upload to cloudinary with the same public id
...
This means we can put a consistent url in the head for the card image
2021-08-14 15:19:48 +10:00
Kurt Hutten
484c50c921
Adjust scene lighting, attach light to camera for consistent lighting
2021-08-12 06:15:23 +10:00
Kurt Hutten
799a32544b
Use forked useEdegeSplit to allow updating geomerty
2021-08-11 07:01:09 +10:00
Kurt Hutten
01977170f1
Merge pull request #445 from Irev-Dev/fix-default-jscad-script
...
update default script to be smaller
2021-08-08 20:14:01 +10:00
Kurt Hutten
078c79d8ee
format project
2021-08-08 19:55:05 +10:00
Davor Hrg
696441c39b
Update useIdeState.ts
2021-08-08 11:52:35 +02:00
Kurt Hutten
2ea15df9d1
defer ping animation
2021-08-08 07:06:20 +10:00
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
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
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