Merge pull request #26 from ochafik/update-20240529
Update WASM to 20240529 (+ tweak readme)
This commit is contained in:
commit
0d9b861daf
4 changed files with 13 additions and 17 deletions
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
WASM_BUILD_URL=https://files.openscad.org/playground/OpenSCAD-2023.08.13.wasm16037-WebAssembly.zip
|
||||
WASM_BUILD_URL=https://files.openscad.org/snapshots/OpenSCAD-2024.05.29.wasm19480-WebAssembly.zip
|
||||
|
||||
SINGLE_BRANCH_MAIN=--branch main --single-branch
|
||||
SINGLE_BRANCH=--branch master --single-branch
|
||||
|
|
|
|||
12
README.md
12
README.md
|
|
@ -73,3 +73,15 @@ npm run build
|
|||
rm -fR ../ochafik.github.io/openscad2 && cp -R dist ../ochafik.github.io/openscad2
|
||||
# Now commit and push changes, wait for site update and enjoy!
|
||||
```
|
||||
|
||||
## Adding OpenSCAD libraries
|
||||
|
||||
You'll need to update 3 files (search for BOSL2 for an example):
|
||||
|
||||
- [Makefile](./Makefile): to pull the library's code (optionally alias some files for easier imports) and package it as a `.zip` archive
|
||||
|
||||
- [src/fs/zip-archives.ts](./src/fs/zip-archives.ts): to use the `.zip` archive in the UI (both for file explorer and automatic imports mounting)
|
||||
|
||||
- [LICENSE.md](./LICENSE.md): most libraries require proper disclosure of their usage and of their license. If a license is unique, paste it in full, otherwise, link to one of the standard ones already there.
|
||||
|
||||
Send us a PR, then once it's merged request an update to the hosted https://ochafik.com/openscad2 demo.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in a new issue