chiark / gitweb /
trackpump-mutlihead-clip: wip new hose side plan
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jul 2016 20:27:59 +0000 (21:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jul 2016 20:27:59 +0000 (21:27 +0100)
trackpump-mutlihead-clip.scad

index c15c38b8bcab129ad276012ed151b2dd261f5fa5..265f2ba54473acb22e2273cfe5caeb1aec6cf1a9 100644 (file)
@@ -118,6 +118,11 @@ module HoseSideElevation(){
 
 module HoseSidePlan(){
   ro = hose_inner_dia/2 + hose_side_width;
+  ri = (hose_inner_dia/2);
+
+  apx = sqrt( ri*ri - (hose_aperture*hose_aperture)/4 );
+  apsq = hose_base_offset + apx - hose_aperture/sqrt(2);
+  echo(apsq);
 
   difference(){
     hull(){
@@ -125,7 +130,12 @@ module HoseSidePlan(){
       translate([hose_base_offset, 0]) circle(r= ro);
     }
     translate([hose_base_offset, 0]) circle(r= hose_inner_dia/2);
+    translate([apsq, 0])
+      rotate(-45)
+      square([50,50]);
   }
+
+  %square(center=true, [100, hose_aperture]);
 }
 
 module HoseSide(){
@@ -150,7 +160,7 @@ module ClipPrint(){
 
 //PumpSidePlan();
 //PumpSideElevation();
-HoseSidePlan();
+linear_extrude(height=1) HoseSidePlan();
 //PumpSide();
 //HoseSide();
 //Clip();