Changed all BOSL references to BOSL2.

This commit is contained in:
Revar Desmera
2019-04-18 23:45:46 -07:00
parent 6b0e796462
commit a46ea27fca
34 changed files with 145 additions and 146 deletions

View File

@@ -101,9 +101,9 @@ class ImageProcessing(object):
stdlibs = ["constants.scad", "math.scad", "transforms.scad", "shapes.scad", "debug.scad"]
script = ""
for lib in stdlibs:
script += "include <BOSL/%s>\n" % lib
script += "include <BOSL2/%s>\n" % lib
if libfile not in stdlibs:
script += "include <BOSL/%s>\n" % libfile
script += "include <BOSL2/%s>\n" % libfile
for line in self.commoncode:
script += line+"\n"
for line in code:

View File

@@ -3,10 +3,10 @@
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"
dir="$(basename $PWD)"
if [ "$dir" = "BOSL" ]; then
cd BOSL.wiki
elif [ "$dir" != "BOSL.wiki" ]; then
echo "Must run this script from the BOSL or BOSL/BOSL.wiki directories."
if [ "$dir" = "BOSL2" ]; then
cd BOSL2.wiki
elif [ "$dir" != "BOSL2.wiki" ]; then
echo "Must run this script from the BOSL2 or BOSL2/BOSL2.wiki directories."
exit 1
fi