Created
March 19, 2016 20:01
-
-
Save jhitesma/1182abd82ae590ae7293 to your computer and use it in GitHub Desktop.
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([0,0,6]) | |
//rotate([90,0,00]) | |
union() { | |
translate([-2,16,60]) rotate([90,0,0]) import("D:/3dprinting/clamp.stl"); | |
translate([6,0,0]) | |
difference() { | |
difference() { | |
union() { | |
shaft(); | |
translate([5,3,10]) rotate([90,0,0]) support_ring(); | |
} | |
translate([3,0,30]) cube ([6,12,70],true); | |
} | |
translate([5,3,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([-9,0,3.75]) | |
cube([19,12,7.5],true); | |
} | |
module shaft() { | |
support_block(); | |
translate([0,0,30]) | |
cylinder(60,6,6,true); | |
//translate([3,0,50]) | |
//cube ([6,12,20],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