chiark / gitweb /
trackpump-mutlihead-clip: new hose side, commit to it
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jul 2016 21:15:37 +0000 (22:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jul 2016 21:15:37 +0000 (22:15 +0100)
trackpump-mutlihead-clip.scad

index 5190146..9302596 100644 (file)
@@ -14,9 +14,7 @@ hose_aperture = 11;
 hose_side_width = 5;
 hose_base_offset = 30;
 
-hose_head_dia = 28;
 hose_side_thick = 5;
-hose_head_width = 22;
 
 pump_protr_protr = 3;
 pump_side_height = 20;
@@ -92,30 +90,6 @@ module PumpSide(){
   }
 }
 
-module HoseSideElevation(){
-  or = hose_head_dia/2 + hose_side_thick;
-
-  x3 = 0;
-  x4 = x3 + hose_base_offset;
-  x5 = x4 + hose_head_dia/2;
-  x6 = x4 + hose_head_dia;
-  x7 = x5 + or;
-
-  z0 = 0;
-  zm = -or;
-
-  difference(){
-    intersection(){
-      translate([-100,-100]) square([x7+210, 100]);
-      hull(){
-       translate([x5, 0]) circle(r=or);
-       translate([-1, zm]) square([1,z0-zm]);
-      }
-    }
-    translate([x5,0]) circle(r=hose_head_dia/2);
-  }
-}
-
 module HoseSidePlan(){
   ro = hose_inner_dia/2 + hose_side_width;
   ri = (hose_inner_dia/2);
@@ -140,13 +114,9 @@ module HoseSidePlan(){
 }
 
 module HoseSide(){
-  for (m=[0,1]) {
-    mirror([0,m,0])
-      translate([0, hose_head_width, 0])
-      rotate([90,0,0])
-      linear_extrude(height= hose_side_width)
-      HoseSideElevation();
-  }
+  mirror([0,0,1])
+    linear_extrude(height=hose_side_thick)
+    HoseSidePlan();
 }
 
 module Clip(){
@@ -160,9 +130,7 @@ module ClipPrint(){
 }
 
 //PumpSidePlan();
-//PumpSideElevation();
-linear_extrude(height=hose_side_thick) HoseSidePlan();
 //PumpSide();
 //HoseSide();
-//Clip();
+Clip();
 //ClipPrint();