Last active
July 25, 2016 13:29
-
-
Save wavejumper/60790a538ff103523415aa9708a0492f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| module slit () { | |
| translate([0,10,0]) { cube([4,30,15], true); } | |
| } | |
| module bolt(height, dia) { | |
| rotate([0,90,0]) { | |
| cylinder(h=height, d=dia, center=true); | |
| } | |
| } | |
| module dynamo_mount() { | |
| rotate([0,0,30]) { | |
| translate([3,10,0]) { | |
| difference() { | |
| slit(); | |
| translate([0,19,0]) { bolt(30, 6); } | |
| } | |
| } | |
| } | |
| } | |
| module fork_mount() { | |
| difference() { | |
| cube([4, 26, 15], true); | |
| translate([0,-7,0]) { bolt(100,5); } | |
| } | |
| } | |
| module mount() { | |
| difference() { | |
| union() { | |
| dynamo_mount(); | |
| fork_mount(); | |
| } | |
| rotate([0,0,30]) { | |
| translate([7,0,0]) { cube([4,30,15], true); } | |
| } | |
| } | |
| } | |
| mount(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment