Taper the screwless feet for easier fitting

Make the screwless foot tips slightly conical. This makes it easier to
fit the box halves together as it helps to alight the top and bottom
feet.
This commit is contained in:
Joel Ebel 2018-07-21 22:08:20 -04:00
parent dfde39fe11
commit cc8d527884

View File

@ -589,12 +589,24 @@ module foot() {
}
if (Screwless && !top) { // Remove around peg
translate([FootHole/2 - PartMargin, FootHeight]) {
square([FootDia/2, PCBThick*3]);
polygon([[0, 0],
[FootDia/2, 0],
[FootDia/2, PCBThick*3],
[-FootHole/3, PCBThick*3],
[0, PCBThick]
]
);
}
}
if (Screwless && top) { // Remove hole for peg
translate([-FootHole/2, TopMargin - PCBThick, 0]) {
square([(FootHole + CutoutMargin), PCBThick*2]);
polygon([[0, 0],
[(FootHole*5/6 + CutoutMargin), 0],
[(FootHole + CutoutMargin), PCBThick],
[(FootHole + CutoutMargin), PCBThick*2],
[0, PCBThick*2],
]
);
}
}