Created
September 1, 2017 21:08
Star
You must be signed in to star a gist
A holder for table lamp to fit on the corner of IKEA table
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
$fn=60; | |
holeH=37; | |
holeD=12.5; | |
h=40; | |
module lampHolder() { | |
difference() { | |
holderBody(); | |
tableSpace(); | |
lampHole(); | |
} | |
} | |
module holderBody() { | |
hull() { | |
cylinder(d=17, h=h); | |
cylinder(d=75, h=10); | |
translate([-40,-40,-30]) cube([80,80,6]); | |
} | |
} | |
module tableSpace() { | |
translate([-53,-53,-23]) cube([80,80,23]); | |
} | |
module lampHole() { | |
translate([0,0,h-holeH]) | |
cylinder(d=holeD,h=holeH); | |
} | |
lampHolder(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment