File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PREVIEW_LIBS=" constants compat transforms shapes masks paths beziers math metric_screws threading involute_gears sliders joiners linear_bearings nema_steppers wiring triangulation quaternions phillips_drive torx_drive debug"
3+ if [[ $# > 0 ]]; then
4+ PREVIEW_LIBS=" $@ "
5+ else
6+ PREVIEW_LIBS=" constants compat transforms shapes masks paths beziers math metric_screws threading involute_gears sliders joiners linear_bearings nema_steppers wiring triangulation quaternions phillips_drive torx_drive debug"
7+ fi
48
59dir=" $( basename $PWD ) "
610if [ " $dir " = " BOSL" ]; then
1216
1317rm -f tmpscad* .scad
1418for lib in $PREVIEW_LIBS ; do
19+ lib=" $( basename $lib .scad) "
1520 mkdir -p images/$lib
1621 rm -f images/$lib /* .png images/$lib /* .gif
1722 echo ../scripts/docs_gen.py ../$lib .scad -o $lib .scad.md -c -i -I images/$lib /
You can’t perform that action at this time.
0 commit comments