aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pawn.scad5
-rw-r--r--src/piecepack.scad9
2 files changed, 14 insertions, 0 deletions
diff --git a/src/pawn.scad b/src/pawn.scad
new file mode 100644
index 0000000..f396925
--- /dev/null
+++ b/src/pawn.scad
@@ -0,0 +1,5 @@
+use <piecepack.scad>;
+
+suite="arms";
+
+pawn(suite);
diff --git a/src/piecepack.scad b/src/piecepack.scad
index ef3f3c7..4b701e4 100644
--- a/src/piecepack.scad
+++ b/src/piecepack.scad
@@ -54,3 +54,12 @@ module die(suite) {
import("../graphics/4.dxf");
}
}
+
+module pawn(suite) {
+ difference() {
+ cylinder(r=8, h=22);
+ translate([-8,-8,21]) linear_extrude(height=1.5) scale(0.32)
+ import(str("../graphics/",suite,".dxf"),center=true);
+ }
+}
+