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

index 265f2ba..5190146 100644 (file)
@@ -121,8 +121,8 @@ module HoseSidePlan(){
   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);
+  apsq = hose_base_offset + apx - hose_aperture/2;
+  echo(apx,apsq);
 
   difference(){
     hull(){
@@ -135,7 +135,8 @@ module HoseSidePlan(){
       square([50,50]);
   }
 
-  %square(center=true, [100, hose_aperture]);
+  //%translate([hose_base_offset + apx, 0]) square([50,50]);
+  //%square(center=true, [100, hose_aperture]);
 }
 
 module HoseSide(){
@@ -160,7 +161,7 @@ module ClipPrint(){
 
 //PumpSidePlan();
 //PumpSideElevation();
-linear_extrude(height=1) HoseSidePlan();
+linear_extrude(height=hose_side_thick) HoseSidePlan();
 //PumpSide();
 //HoseSide();
 //Clip();