chiark / gitweb /
yubikey-5c-nano-loop: time_square
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 2 May 2023 15:13:02 +0000 (16:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 2 May 2023 15:13:02 +0000 (16:13 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
yubikey-5c-nano-loop.scad

index a0e2add011225b12ac7e70b1956ece91a5d647c0..c410427fc680f58c803a35e8cf95eefacf2ce130 100644 (file)
@@ -9,6 +9,8 @@ base_slope = 2.0;
 hoop_th = 2.4;
 hoop_inner_dia = 2.5;
 
+time_square = 8;
+
 $fa = 3;
 $fs = 0.1;
 
@@ -44,9 +46,18 @@ module Loop() {
   }
 }
 
+module UseUpTime() {
+  linextr(-base_th, hoop_inner_dia/2 + hoop_th)
+    translate([0, base[0] * 3, 0])
+    square(time_square, center=true);
+}
+
 module Whole() {
-  Base();
-  Loop();
+  rotate([0,0, 90]) {
+    Base();
+    Loop();
+  }
+  UseUpTime();
 }
 
 Whole();