Created
July 21, 2013 10:58
-
-
Save makevoid/6048240 to your computer and use it in GitHub Desktop.
PP Ashtray thingiverse: http://www.thingiverse.com/thing:121190
ashtray designed by Pio Porcinai, 3d modeled in openscad the STL needs to be scaled, the original size is 12x12x2.5cm
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 = 0.3; | |
$fn = 50; | |
// main | |
difference() { | |
ashtray(); | |
decoration(); | |
} | |
module ashtray() { | |
scale([4, 4, 4]) intersection() { | |
// intersection quarter | |
cube([60, 60, 20]); | |
cube([30, 30, 20]); | |
difference(){ | |
piece(); | |
# translate([6.2, 6.2]) cylinder(4.5, 5, 5); // ashtray | |
} | |
} | |
} | |
module decoration() { | |
difference() { | |
cylinder(4.5, 97, 97); | |
cylinder(4.5, 85, 85); | |
} | |
} | |
module piece() { | |
cylinder(2.3, 30, 30); // handle | |
cylinder(6, 15, 15); // base | |
translate([15, 15]) cylinder(6, 3.5, 3.5); // foot | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment