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:
parent
e06447fe86
commit
59751f1154
@ -428,8 +428,8 @@ module tab() {
|
|||||||
if (SnapTabs) {
|
if (SnapTabs) {
|
||||||
translate([0, ScrewHole*2, PartMargin]) {
|
translate([0, ScrewHole*2, PartMargin]) {
|
||||||
difference() {
|
difference() {
|
||||||
sphere(d=ScrewHole, $fn=100);
|
sphere(d=(ScrewHole - PartMargin*2), $fn=100);
|
||||||
translate([0, 0, ScrewHole*.75]) {
|
translate([0, 0, ScrewHole*.5 + TabThick/2]) {
|
||||||
cube(ScrewHole, center=true);
|
cube(ScrewHole, center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user