Last active
November 21, 2020 01:11
-
-
Save marcolivierarsenault/72288e07173b002f2b76226a3cd16918 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
bill_height = 69.85; | |
bill_width = 152.4; | |
space = 3; | |
cutout = 25; | |
walls = 5; | |
view = 1; | |
//Demo | |
//walls = 3; | |
//view = 1; | |
//Real | |
//walls = 25; | |
//view = 0; | |
difference() { | |
//Default shape | |
cube([bill_height + space + 2*walls, bill_width + space + 2*walls, space+ 2*walls]); | |
//Space For Bill | |
translate([walls, walls, walls]) { | |
cube([ bill_height + space, bill_width+space, space]); | |
}; | |
//Cutout | |
if (view == 1) translate([(bill_height + 2*walls + space - cutout)/2, walls-2, -1]) { | |
cube([ cutout, cutout, 3*cutout]); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment