module FilamentCupHandle(){
pawlusewidth = ratchetpawl-ratchettoothsmoothr*2;
mirror([0,1,0]) {
- difference(){
- union(){
- cube([stalklength, stalkwidth, prongthick]);
- translate([stalklength, stalkwidth/2, 0])
- cylinder(r=stalkwidth/2, h=prongthick, $fn=20);
- }
- Commitid_BestCount([stalklength, stalkwidth]);
- }
+ cube([stalklength, stalkwidth, prongthick]);
+ translate([stalklength, stalkwidth/2, 0])
+ cylinder(r=stalkwidth/2, h=prongthick, $fn=20);
translate([ratchettoothsmoothr, stalkwidth, 0]) {
minkowski(){
cylinder($fn=20,r=ratchettoothsmoothr, h=1);
}
}
-module FilamentCup() { ////toplevel
+module FilamentCupPositive() {
FilamentCupHandle();
gapy = prongwidth;
}
}
+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]]);