Minor fixes to snap tabs

Shrink the button size so it fits inside the outer divet with a margin
of PartMargin, rather than giving both the same radius.

Cut off the button sphere at a more accurate position in case the tab
thickness is smaller than half the button radius.
This commit is contained in:
Joel Ebel 2018-06-30 22:55:51 -04:00
parent e06447fe86
commit 59751f1154

View File

@ -428,8 +428,8 @@ module tab() {
if (SnapTabs) {
translate([0, ScrewHole*2, PartMargin]) {
difference() {
sphere(d=ScrewHole, $fn=100);
translate([0, 0, ScrewHole*.75]) {
sphere(d=(ScrewHole - PartMargin*2), $fn=100);
translate([0, 0, ScrewHole*.5 + TabThick/2]) {
cube(ScrewHole, center=true);
}
}