Created
July 20, 2016 19:04
-
-
Save vikrum/b873b7890702f1323426ceb31050675d to your computer and use it in GitHub Desktop.
shadow cube
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
// http://budweiser.cadstudio.cz/2015/08/shadow-cube-3d-model-of-c-d.html | |
$fn=100; | |
S=10; // size in mm | |
// "C" "A" "D" - modelled letters | |
intersection() { | |
M("A", S); // "A" | |
translate([0, S, 0])rotate([90, 0, 0]) M("D", S); // "D" | |
translate([-S/2, S/2, 0])rotate([90, 0, 90])M("C", S); // "C" | |
} | |
module M(t,s) { | |
resize([s, s, s])linear_extrude(1) text(t, halign="center", font="Raavi:style=Bold"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment