Last active
March 18, 2016 18:16
-
-
Save jhitesma/e1e598f489693d8cbcef to your computer and use it in GitHub Desktop.
18mm diameter inductive sensor mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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