aboutsummaryrefslogtreecommitdiff
path: root/lib/faces
diff options
context:
space:
mode:
Diffstat (limited to 'lib/faces')
-rw-r--r--lib/faces/pips.scad43
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);
+}