Skip to content

Instantly share code, notes, and snippets.

@raster
Created July 21, 2017 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raster/c98a4cf12c7a15aece29fe9dd6cdcf4c to your computer and use it in GitHub Desktop.
Save raster/c98a4cf12c7a15aece29fe9dd6cdcf4c to your computer and use it in GitHub Desktop.
/*
* 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