diff --git a/LICENSE.md b/LICENSE.md index e3522a2..61d6a03 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -44,6 +44,7 @@ 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) ## Manifold @@ -737,6 +738,34 @@ 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. +``` + ## Common licenses These are linked from a few of the packages listed above. diff --git a/Makefile b/Makefile index c73b770..0094b9c 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ public: \ public/libraries/openscad-tray.zip \ public/libraries/closepoints.zip \ public/libraries/Stemfie_OpenSCAD.zip \ + public/libraries/pathbuilder.zip \ public/libraries/UB.scad.zip clean: @@ -49,7 +50,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 +129,13 @@ 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/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..4293358 100644 --- a/src/fs/zip-archives.ts +++ b/src/fs/zip-archives.ts @@ -155,6 +155,13 @@ 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']}], + }, + }, }; export const deployedArchiveNames =