+union() {
//variables
thicknes=8.5;
material=1.1;
//right lower part
color("Green"){
translate([2+material/2, 0, 0])
- cube([material, 12, thicknes]);
+ cube([material, 12, thicknes]);
}
//right upper part
color("Red"){
translate([-material*1.8, 0, 0])
cube([material*1.8, 10, thicknes]);
+ }
}
\ No newline at end of file