chiark / gitweb /
ksafe-base: introduce BaseProfile
[reprap-play.git] / trackpump-mutlihead-clip.scad
index ac07f97..c5108fd 100644 (file)
@@ -1,5 +1,7 @@
 // -*- C -*-
 
+include <commitid.scad>
+
 pump_main_dia = 38;
 pump_side_width = 5;
 pump_side_thick = 4;
@@ -84,20 +86,18 @@ module PumpSideElevation(){
 
 module PumpSide(){
   br = baseplate_width_rad;
-  brs =
-    sqrt( pow(pump_side_outer_rad, 2)
-         -pow(pump_main_dia/2 + baseplate, 2) );
+  brs = hose_side_stalk_width/2;
   echo(brs);
 
   difference(){
     intersection(){
       translate([0,100,0])
        rotate([90,0,0])
-       linear_extrude(height=200)
+       linear_extrude(height=200, convexity=10)
        PumpSideElevation();
       union(){
        translate([0,0,-100])
-         linear_extrude(height=200)
+         linear_extrude(height=200, convexity=10)
          PumpSidePlan();
        // baseplate
        hull(){
@@ -117,6 +117,13 @@ module PumpSide(){
                -(pump_side_thick + pump_side_height)])
       cylinder(r=pump_main_dia/2, h=200);
   }
+  rotate([0,0,180])
+    mirror([0,0,1])
+    translate([-0,
+              -br,
+              pump_side_total_height])
+    Commitid_BestCount_M([baseplate + pump_protr_protr,
+                         br*2]);
 }
 
 module HoseSidePlan(){
@@ -145,7 +152,7 @@ module HoseSidePlan(){
 
 module HoseSide(){
   mirror([0,0,1])
-    linear_extrude(height=hose_side_thick)
+    linear_extrude(height=hose_side_thick, convexity=10)
     HoseSidePlan();
 }
 
@@ -160,6 +167,7 @@ module ClipPrint(){
 }
 
 //PumpSidePlan();
+//PumpSideElevation();
 //PumpSide();
 //HoseSide();
 //Clip();