diff --git a/LICENSE.md b/LICENSE.md index bc4af57..11ac007 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -36,6 +36,7 @@ The WASM build was made possible by https://github.com/DSchroer/openscad-wasm. * [SCAD Libraries](#scad-libraries) + [BOSL2](#bosl2) + [NopSCADlib](#nopscadlib) + + [brailleSCAD](#braillescad) + [FunctionalOpenSCAD](#functionalopenscad) + [funcutils](#funcutils) + [smooth-prim](#smooth-prim) @@ -196,6 +197,12 @@ https://github.com/nophead/NopSCADlib Licensed under the [GPLv3](#gplv3). +### brailleSCAD + +https://github.com/BelfrySCAD/brailleSCAD + +Licensed under the [GNU LGPLv2.1](#lgplv21). + ### FunctionalOpenSCAD https://github.com/thehans/FunctionalOpenSCAD diff --git a/Makefile b/Makefile index 71f371b..700ab68 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ public: \ public/libraries/Stemfie_OpenSCAD.zip \ public/libraries/pathbuilder.zip \ public/libraries/openscad_attachable_text3d.zip \ + public/libraries/brailleSCAD.zip \ public/libraries/UB.scad.zip clean: @@ -144,6 +145,13 @@ 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/brailleSCAD: + git clone --recurse https://github.com/BelfrySCAD/brailleSCAD.git ${SHALLOW} ${SINGLE_BRANCH_MAIN} $@ + +public/libraries/brailleSCAD.zip: libs/brailleSCAD + mkdir -p public/libraries + ( cd libs/brailleSCAD ; zip -r ../../public/libraries/brailleSCAD.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 549ea5f..56fad0f 100644 --- a/src/fs/zip-archives.ts +++ b/src/fs/zip-archives.ts @@ -68,6 +68,16 @@ export const zipArchives: ZipArchives = { }], }, }, + 'brailleSCAD': { + gitOrigin: { + branch: 'main', + repoUrl: 'https://github.com/BelfrySCAD/brailleSCAD', + include: [{ + glob: ['**/*.scad', 'LICENSE'], + ignore: 'test/**', + }], + }, + }, 'FunctionalOpenSCAD': { description: 'Implementing OpenSCAD in OpenSCAD', gitOrigin: {