summaryrefslogtreecommitdiff
path: root/testdata/scad/features/cylinder-diameter-tests.scad
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-10-21 18:47:15 (GMT)
committerMarius Kintel <marius@kintel.net>2013-10-21 18:47:15 (GMT)
commitf6b381fc7e3d10b6f8940b4222415f16d85ae422 (patch)
treec80b9777d10714790fe278b5527da05fc018945a /testdata/scad/features/cylinder-diameter-tests.scad
parent170d4a54970f34d4790b0b3ae3a3d4f2f7502660 (diff)
parent74082c8cff46863fe56ddc9de93cca57b610c4d9 (diff)
Merge pull request #509 from t-paul/issue392
Add diameter variable to the sphere, cylinder and circle primitives.
Diffstat (limited to 'testdata/scad/features/cylinder-diameter-tests.scad')
-rw-r--r--testdata/scad/features/cylinder-diameter-tests.scad13
1 files changed, 13 insertions, 0 deletions
diff --git a/testdata/scad/features/cylinder-diameter-tests.scad b/testdata/scad/features/cylinder-diameter-tests.scad
new file mode 100644
index 0000000..57eab65
--- /dev/null
+++ b/testdata/scad/features/cylinder-diameter-tests.scad
@@ -0,0 +1,13 @@
+cylinder();
+translate([-11,-11,0]) cylinder(h=3, r=5);
+translate([-11, 0,0]) cylinder(h=5, d=10);
+translate([-11, 11,0]) cylinder(h=7, r=1, d=10);
+translate([ 11,-11,0]) cylinder(h=5, r1=5);
+translate([ 11, 0,0]) cylinder(h=7, d1=10);
+translate([ 11, 11,0]) cylinder(h=9, r1=1, d1=10);
+translate([ 22,-11,0]) cylinder(h=5, r2=5);
+translate([ 22, 0,0]) cylinder(h=7, d2=10);
+translate([ 22, 11,0]) cylinder(h=9, r2=1, d2=10);
+translate([ 33,-11,0]) cylinder(h=5, r1=5, r2=5);
+translate([ 33, 0,0]) cylinder(h=7, d1=10, d2=10);
+translate([ 33, 11,0]) cylinder(h=9, r1=1, d1=10, r2=1, d2=10);
contact: Jan Huwald // Impressum