From 092b891a138d150ef3968f7f5c74e0771c3e5b2b Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Sun, 22 Jun 2014 15:18:11 +0200 Subject: Pips: new face set --- lib/faces/pips.scad | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lib/faces/pips.scad (limited to 'lib/faces/pips.scad') diff --git a/lib/faces/pips.scad b/lib/faces/pips.scad new file mode 100644 index 0000000..2efb398 --- /dev/null +++ b/lib/faces/pips.scad @@ -0,0 +1,43 @@ + +module _pip(l) { + translate([0, 0, l/12]) translate() sphere(r=l/7, $fn=23); +} + +module pips_1(l) { + _pip(l); +} + +module pips_2(l) { + translate([l/4, l/4, 0]) _pip(l); + translate([-l/4, -l/4, 0]) _pip(l); +} + +module pips_3(l) { + _pip(l); + translate([l/4, l/4, 0]) _pip(l); + translate([-l/4, -l/4, 0]) _pip(l); +} + +module pips_4(l) { + translate([l/4, l/4, 0]) _pip(l); + translate([-l/4, -l/4, 0]) _pip(l); + translate([l/4, -l/4, 0]) _pip(l); + translate([-l/4, l/4, 0]) _pip(l); +} + +module pips_5(l) { + _pip(l); + translate([l/4, l/4, 0]) _pip(l); + translate([-l/4, -l/4, 0]) _pip(l); + translate([l/4, -l/4, 0]) _pip(l); + translate([-l/4, l/4, 0]) _pip(l); +} + +module pips_6(l) { + translate([l/4, l*5/16, 0]) _pip(l); + translate([-l/4, -l*5/16, 0]) _pip(l); + translate([l/4, 0, 0]) _pip(l); + translate([-l/4, 0, 0]) _pip(l); + translate([l/4, -l*5/16, 0]) _pip(l); + translate([-l/4, l*5/16, 0]) _pip(l); +} -- cgit v1.2.3