Skip to content

Commit 791c349

Browse files
committed
Add script to download dependencies
1 parent a49e66a commit 791c349

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

download_dependencies.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/bash
2+
# download dependencies
3+
if [ ! -e scad-utils ]; then
4+
git clone https://github.com/openscad/scad-utils.git
5+
fi
6+
if [ ! -e list-comprehension-demos ]; then
7+
git clone https://github.com/openscad/list-comprehension-demos.git
8+
fi
9+
if [ ! -e Curved_Pipe_Library_for_OpenSCAD/curvedPipe.scad ]; then
10+
mkdir -p Curved_Pipe_Library_for_OpenSCAD
11+
wget -O Curved_Pipe_Library_for_OpenSCAD/curvedPipe.scad \
12+
http://www.thingiverse.com/download:170713
13+
wget -O Curved_Pipe_Library_for_OpenSCAD/moreShapes.scad \
14+
http://www.thingiverse.com/download:170714
15+
wget -O Curved_Pipe_Library_for_OpenSCAD/vector.scad \
16+
http://www.thingiverse.com/download:170715
17+
wget -O Curved_Pipe_Library_for_OpenSCAD/maths.scad \
18+
http://www.thingiverse.com/download:170716
19+
fi

0 commit comments

Comments
 (0)