chiark / gitweb /
poster-tube-lid: Correct for when cpp11 above cpp10
[reprap-play.git] / poster-tube-lid.scad
index b08eae29301f39a1098224adcc4cd3f837d8e942..c4892cd368b4bb583a16f9a8a0013dc59de632e8 100644 (file)
@@ -598,6 +598,15 @@ module CatchAssemblyCoreProfile(){
     }
     translate(cpp2) circle(r= catch_cr);
   }
+  // if cpp11 is above cpp10, the subtracted hull above
+  // can go down too far.  Ensure we do not cut off below cppy6.
+  polygon([ cppE,
+           cppD,
+           cpp9,
+           [ cpp9[0],            cppy6 ],
+           [ cpp7[0] - catch_cr, cppy6 ],
+           cpp2d
+           ]);
 }
 
 module CatchHeadProfile(){