chiark / gitweb /
digispark-with-cable: wip progress
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Oct 2023 21:56:12 +0000 (22:56 +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 d3cf05fa4affa8b2bdc3134f9dad940c661803f8..e6d3d7014966f32aa765b476ce1f1cda0dd01874 100644 (file)
@@ -90,15 +90,7 @@ module BothSides(){
     }
   }
 }
-module StrapCutouts(y_c, z_top, top_sz_x){
-    BothSides(){
-      translate([ -total_side_wall_x, y_c, z_top ])
-       cube([ top_sz_x*2,
-              strap_w,
-              cover_strap_cutout_z*2 ],
-            center=true);
-    }
-}
+
 module BottomStrapCutouts(y_c){
   BothSides(){
     translate([ -total_side_wall_x, y_c, bottom_base_z ])
@@ -109,9 +101,14 @@ module BottomStrapCutouts(y_c){
           center=true);
   }
 }
-
 module CoverStrapCutouts(){
-  StrapCutouts( -cover_strap_c_d_y, cover_top_z, cover_strap_sz_x );
+  BothSides(){
+    translate([ -total_side_wall_x, -cover_strap_c_d_y, cover_top_z ])
+      cube([ cover_strap_sz_x*2,
+            strap_w,
+            cover_strap_cutout_z*2 ],
+          center=true);
+  }
 }
 
 module FrontWallsPlan(slop) {