/* | |
* Volt Meter Mount | |
* | |
* | |
*/ | |
mount(); | |
module mount() { | |
difference() { | |
union() { | |
// main body | |
translate([0,0,0]) | |
cylinder(d=63.25, h=20, $fn=25, center=true); | |
// top part | |
translate([0,0,8.5]) | |
cylinder(d=69.25, h=3, $fn=100, center=true); | |
// mounting ears | |
translate([0,0,7]) | |
roundedrect(); | |
// cube([82,10,3],center=true); | |
} | |
// meter hole | |
translate([0,0,0]) | |
cube([46,27,30],center=true); | |
// mount hole left | |
translate([-37,0,5]) | |
cylinder(d=3, h=10, $fn=200); | |
// mount hole right | |
translate([37,0,5]) | |
cylinder(d=3, h=10, $fn=200); | |
} | |
} | |
module roundedrect() { | |
hull() { | |
translate([-37,0,0]) | |
cylinder(d=10, h=3, $fn=100); | |
translate([37,0,0]) | |
cylinder(d=10, h=3, $fn=100); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment