diff --git a/LICENSE.md b/LICENSE.md index e3522a2..bc4af57 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -44,6 +44,8 @@ The WASM build was made possible by https://github.com/DSchroer/openscad-wasm. + [YAPP_Box](#yapp-box) + [Stemfie_OpenSCAD](#stemfie-openscad) + [UB.scad](#ubscad) + + [pathbuilder](#pathbuilder) + + [openscad_attachable_text3d](#openscad_attachable_text3d) ## Manifold @@ -737,6 +739,62 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ``` +## pathbuilder + +https://github.com/dinther/pathbuilder + +``` +MIT License + +Copyright (c) 2021 Paul van Dinther + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +``` + +## openscad_attachable_text3d + +https://github.com/jon-gilbert/openscad_attachable_text3d + +``` +MIT License + +Copyright (c) 2023 Jon Gilbert + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +``` + ## Common licenses These are linked from a few of the packages listed above. diff --git a/Makefile b/Makefile index c73b770..71f371b 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,8 @@ public: \ public/libraries/openscad-tray.zip \ public/libraries/closepoints.zip \ public/libraries/Stemfie_OpenSCAD.zip \ + public/libraries/pathbuilder.zip \ + public/libraries/openscad_attachable_text3d.zip \ public/libraries/UB.scad.zip clean: @@ -49,7 +51,7 @@ libs/openscad-wasm: ( cd libs/openscad-wasm && unzip ../openscad-wasm.zip ) rm libs/openscad-wasm.zip rm -f src/wasm - ln -sf $(shell pwd)/libs/openscad-wasm src/wasm + ln -sf "$(shell pwd)/libs/openscad-wasm" src/wasm public/openscad.js: libs/openscad-wasm cp libs/openscad-wasm/openscad.{js,wasm} public @@ -128,6 +130,20 @@ public/libraries/Stemfie_OpenSCAD.zip: libs/Stemfie_OpenSCAD mkdir -p public/libraries ( cd libs/Stemfie_OpenSCAD ; zip -r ../../public/libraries/Stemfie_OpenSCAD.zip *.scad LICENSE ) +libs/pathbuilder: + git clone --recurse https://github.com/dinther/pathbuilder.git ${SHALLOW} ${SINGLE_BRANCH_MAIN} $@ + +public/libraries/pathbuilder.zip: libs/pathbuilder + mkdir -p public/libraries + ( cd libs/pathbuilder ; zip -r ../../public/libraries/pathbuilder.zip *.scad demo/*.scad LICENSE ) + +libs/openscad_attachable_text3d: + git clone --recurse https://github.com/jon-gilbert/openscad_attachable_text3d.git ${SHALLOW} ${SINGLE_BRANCH_MAIN} $@ + +public/libraries/openscad_attachable_text3d.zip: libs/openscad_attachable_text3d + mkdir -p public/libraries + ( cd libs/openscad_attachable_text3d ; zip -r ../../public/libraries/openscad_attachable_text3d.zip *.scad LICENSE ) + # libs/threads: # git clone --recurse https://github.com/rcolyer/threads.git ${SHALLOW} ${SINGLE_BRANCH} $@ diff --git a/src/fs/zip-archives.ts b/src/fs/zip-archives.ts index 64f99c9..549ea5f 100644 --- a/src/fs/zip-archives.ts +++ b/src/fs/zip-archives.ts @@ -155,6 +155,20 @@ export const zipArchives: ZipArchives = { }, symlinks: {"ub.scad": "libraries/ub.scad"}, // TODO change this after the replaces work }, + 'pathbuilder': { + gitOrigin: { + branch: 'main', + repoUrl: 'https://github.com/dinther/pathbuilder.git', + include: [{glob: ['**/*.scad', 'LICENSE']}], + }, + }, + 'openscad_attachable_text3d': { + gitOrigin: { + branch: 'main', + repoUrl: 'https://github.com/jon-gilbert/openscad_attachable_text3d.git', + include: [{glob: ['**/*.scad', 'LICENSE']}], + }, + }, }; export const deployedArchiveNames =