Skip to content

Instantly share code, notes, and snippets.

@jhitesma
Last active March 18, 2016 18:16
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 jhitesma/e1e598f489693d8cbcef to your computer and use it in GitHub Desktop.
Save jhitesma/e1e598f489693d8cbcef to your computer and use it in GitHub Desktop.
18mm diameter inductive sensor mount
$fs=.5;
translate([-2,16,60])
rotate([90,0,0])
import("C:/Users/Jason/Downloads/clamp.stl");
difference() {
union() {
shaft();
translate([0,0,10]) rotate([90,0,0]) support_ring();
}
translate([0,0,10]) rotate([90,0,0]) hole();
translate([0,0,55]) mount_hole();
translate([0,0,48.7]) mount_hole();
}
module mount_hole() {
rotate ([0,90,0])
cylinder(35,1.5,1.5,true);
}
module support_block() {
translate([-10,0,3.75])
cube([12,12,7.5],true);
}
module shaft() {
support_block();
translate([0,0,30])
cube ([12,12,60],true);
}
module ring() {
// Support Ring
translate([-22.5,-2.5,-6]) {
union()
rotate (a=[90,90,0]) {
cylinder(7.5,15,15,false);
}
}
}
module hole() {
// Sensor Hole
translate([-22.5,-1.5,-6]) {
rotate (a=[90,90,0]) {
cylinder(10,9.5,9.5,false);
}
}
}
module support_ring() {
difference() {
ring();
hole();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment