chiark / gitweb /
filamentspool: Move FilamentCup commitid to very outside, with new FilamentCupPositive
[reprap-play.git] / filamentspool.scad
index d1c6d30c0d9ea2ce44395791286eb0995832097e..73daad1187f37eb1526e25c322612ce83210111c 100644 (file)
@@ -326,6 +326,11 @@ module ArmEnd(length=armend_length){ ////toplevel
       cube([length+1 - ratchettooth, channelwidth, channeldepth+1]);
     translate([-1, 0, ratchettoothheight])
       cube([length+2, channelwidth, channeldepth+1]);
+
+    if (usedove()){
+      translate([0,0, -armendbasethick])
+       Commitid_BestCount_M([length/3, totalwidth]);
+    }
   }
   for (dx = [0 : ratchetstep : length - ratchetstep]) translate([dx,0,0]) {
     translate([ratchettoothsmoothr+0.5, armendwallthick/2, 0]) minkowski(){
@@ -369,7 +374,7 @@ module FilamentCupCup(){
   }
 }
 
-module FilamentCup() { ////toplevel
+module FilamentCupPositive() {
   FilamentCupHandle();
 
   gapy = prongwidth;
@@ -424,6 +429,14 @@ module FilamentCup() { ////toplevel
   }      
 }
 
+module FilamentCup() { ////toplevel
+  difference(){
+    FilamentCupPositive();
+    translate([0, -stalkwidth, 0])
+      Commitid_BestCount_M([stalklength - stalkwidth, stalkwidth]);
+  }
+}
+
 module CupSecuringClipSolid(w,d,h1,h2){
   rotate([0,-90,0]) translate([0,-h1/2,-w/2]) linear_extrude(height=w) {
     polygon(points=[[0,0], [d,0], [d,h2], [0,h1]]);