Created
January 19, 2019 09:53
-
-
Save fuddl/cfef161950e56972dd2b43be74ad354b to your computer and use it in GitHub Desktop.
Flower box
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
wall_thickness = 15; | |
base_thickness = 15; | |
depth = 260; | |
width = 870; | |
height = 200; | |
echo(str("<b>1x Base: ", width, "x", depth-(wall_thickness*2), "x", base_thickness, " mm</b>")); | |
translate([0,wall_thickness,0]) | |
cube([width, depth-(wall_thickness*2), base_thickness]); | |
wall_height = height-base_thickness; | |
side_wall_lenght = depth-(wall_thickness*2); | |
translate([0,0,base_thickness]) | |
union() { | |
echo(str("<b>2x Side wall: ", side_wall_lenght, "x", wall_height, "x", wall_thickness, " mm</b>")); | |
translate([0,wall_thickness,0]) | |
cube([wall_thickness, side_wall_lenght, wall_height]); | |
translate([width-wall_thickness,wall_thickness,0]) | |
cube([wall_thickness, side_wall_lenght, wall_height]); | |
} | |
echo(str("<b>2x Main wall: ", width, "x", height, "x", wall_thickness, " mm</b>")); | |
cube([width, wall_thickness, height]); | |
translate([0,depth-wall_thickness,0]) | |
cube([width, wall_thickness, height]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment