We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as discussed here jscad/OpenJSCAD.org#1318 (comment)
it would be nice if jscad.app would unzip the script when mime type is application/gzip
application/gzip
I just took a script from jscad examples (gears)
I was surprised to see urlencoding original script (7.9) is more overhead than base64 and then urlencode (7.1 k)
unless I miscalculated sth, gzip+b64 looks worth it
The text was updated successfully, but these errors were encountered:
gzip in data: uri (#80)
7efa71e
fixes: #76 here is a sample gzipped script: `data:application/gzip;base64,H4sICN1FqGUAA3Rlc3QADcrBDkAwDADQu6/YjV3GxUUi8SuLFRXrpl1FIv6dd34xBT3AwZ0TFxkXpblgIhM9UmMfhqJMhuFUZGjqaZfZhzamAAfSWluXGSMWvECc5A3+9LAPqDKYvnvtW33S8ZutYgAAAA==` for script: ```js module.exports=function main(){return require('@jscad/modeling').primitives.sphere({radius: 50})} ``` @Hermann-SW works temporarily here(you may need to hit ctrl+F5) until merged and published to jscad.app https://3d.hrg.hr/jscad/app1/#data:application/gzip;base64,H4sICN1FqGUAA3Rlc3QADcrBDkAwDADQu6/YjV3GxUUi8SuLFRXrpl1FIv6dd34xBT3AwZ0TFxkXpblgIhM9UmMfhqJMhuFUZGjqaZfZhzamAAfSWluXGSMWvECc5A3+9LAPqDKYvnvtW33S8ZutYgAAAA== --------- Co-authored-by: Kenny Daniel <[email protected]>
Successfully merging a pull request may close this issue.
as discussed here jscad/OpenJSCAD.org#1318 (comment)
it would be nice if jscad.app would unzip the script when mime type is
application/gzip
I just took a script from jscad examples (gears)
I was surprised to see urlencoding original script (7.9) is more overhead than base64 and then urlencode (7.1 k)
unless I miscalculated sth, gzip+b64 looks worth it
The text was updated successfully, but these errors were encountered: