mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-20 10:01:48 +02:00
Changed all BOSL references to BOSL2.
This commit is contained in:
@@ -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:
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user