chiark / gitweb /
digispark-with-cable: wip progress
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Oct 2023 21:57:45 +0000 (22:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Oct 2023 17:10:37 +0000 (18:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
digispark-with-cable.scad

index e6d3d7014966f32aa765b476ce1f1cda0dd01874..a2b32998347e3be6cda2461516847243b9849f4f 100644 (file)
@@ -91,16 +91,19 @@ module BothSides(){
   }
 }
 
-module BottomStrapCutouts(y_c){
+module NormalStrapCutouts(y_c, z, rot){
   BothSides(){
-    translate([ -total_side_wall_x, y_c, bottom_base_z ])
-      rotate([0, -45, 0])
+    translate([ -total_side_wall_x, y_c, z ])
+      rotate([0, rot, 0])
       cube([ side_wall_th,
             strap_w,
             10 ],
           center=true);
   }
 }
+module BottomStrapCutouts(y_c){
+  NormalStrapCutouts(y_c, bottom_base_z, -45);
+}
 module CoverStrapCutouts(){
   BothSides(){
     translate([ -total_side_wall_x, -cover_strap_c_d_y, cover_top_z ])