Procházet zdrojové kódy

Add 4x breakaway plunger strip for batch printing

ZiB před 4 měsíci
rodič
revize
96ac57f13c
1 změnil soubory, kde provedl 23 přidání a 4 odebrání
  1. 23 4
      plunger.scad

+ 23 - 4
plunger.scad

@@ -17,8 +17,27 @@ module plunger() {
 }
 
 // ============================================================
-//  RENDER — long axis vertical, flange face on build plate
+//  RENDER — 4x plunger strip with breakaway sprues
+//  2 mm gap between flanges; snap the 3 bridges to separate.
 // ============================================================
-translate([0, 0, FLANGE_T])
-  rotate([90, 0, 0])
-    plunger();
+
+SPRUE_GAP  = 2.0;                       // gap between adjacent flanges
+SPRUE_PITCH = FLANGE_D + SPRUE_GAP;     // centre-to-centre
+SPRUE_T    = 0.5;                        // bridge thickness — snaps cleanly
+SPRUE_Z    = FLANGE_T + 0.4;            // just above the flange shoulder
+
+module plunger_strip() {
+  for (i = [0:3])
+    translate([i * SPRUE_PITCH, 0, FLANGE_T])
+      rotate([90, 0, 0])
+        plunger();
+
+  for (i = [0:2]) {
+    x0 = i * SPRUE_PITCH + PLUNGER_D / 2;
+    x1 = (i + 1) * SPRUE_PITCH - PLUNGER_D / 2;
+    translate([x0, -PLUNGER_D / 2, SPRUE_Z])
+      cube([x1 - x0, PLUNGER_D, SPRUE_T]);
+  }
+}
+
+plunger_strip();