diff options
author | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-06-22 15:18:11 +0200 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-06-22 15:18:11 +0200 |
commit | 092b891a138d150ef3968f7f5c74e0771c3e5b2b (patch) | |
tree | ae4a116d7494868a970ab1c4f50594a09740d4f5 /lib | |
parent | 1bfb049f9cdd10e81d7c4b360ad49a6706c715e7 (diff) |
Pips: new face set
Diffstat (limited to 'lib')
-rw-r--r-- | lib/faces/pips.scad | 43 |
1 files changed, 43 insertions, 0 deletions
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); +} |