chiark / gitweb /
question-question: new object, as printed
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 30 Dec 2015 15:16:00 +0000 (15:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 30 Dec 2015 15:16:00 +0000 (15:16 +0000)
.gitignore
Makefile
question-question.fig [new file with mode: 0644]
question-token.scad [new file with mode: 0644]

index d2f790c..b5540e5 100644 (file)
@@ -14,3 +14,5 @@ pandemic-counter-l*.eps
 pandemic-quarantine-l*.dxf
 pandemic-quarantine-l*.eps
 screw-recess-test-number-s*.*
+question-question.dxf
+question-question.eps
index 89394a2..a3c57c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -114,6 +114,12 @@ screw-recess-test-number-s%.eps: screw-recess-test-number-s%.fig
 
 screw-recess-test-numbers screw-recess-test.stl: $(SCREWRECESSTEST_DXFS)
 
+question-question.eps: question-question.fig
+               fig2dev -L eps <$< >$@.tmp
+               @mv -f $@.tmp $@
+
+question-token.stl: question-question.dxf
+
 .PRECIOUS: $(SCREWRECESSTEST_DXFS) $(SCREWRECESSTEST_DXFS) \
        $(foreach s,$(SCREWRECESSTEST_SIZES), \
                screw-recess-test-number-s$s.fig \
diff --git a/question-question.fig b/question-question.fig
new file mode 100644 (file)
index 0000000..dba37e6
--- /dev/null
@@ -0,0 +1,11 @@
+#FIG 3.2  Produced by xfig version 3.2.5c
+Landscape
+Center
+Metric
+A4      
+100.00
+Single
+-2
+1200 2
+1 3 0 1 0 7 50 -1 -1 0.000 1 0.0000 3780 3870 675 675 3780 3870 4455 3870
+4 0 0 34 -1 14 56 0.0000 4 555 555 3510 4140 ?\001
diff --git a/question-token.scad b/question-token.scad
new file mode 100644 (file)
index 0000000..2bd7bc6
--- /dev/null
@@ -0,0 +1,25 @@
+// -*- C -*-
+
+tokenrad=13;
+tokenthick=1.9;
+
+joinwidth=1.0;
+
+circlerad=15;
+
+module Letter() {
+  translate([-circlerad,-circlerad])
+    import("question-question.dxf", convexity=100);
+}
+
+module Token() { ////toplevel
+  rotate([0,180,0])
+  linear_extrude(height=tokenthick) union(){
+    difference(){
+      %circle(tokenrad);
+      Letter();
+    }
+  }
+}
+
+Token();