openscad-parts/Koffertjes_opslag/bottom_strengthening.scad

29 lines
1,004 B
OpenSCAD

include <dimensions.scad>
module bottom_strengthening(){
// front
cube(size=[bottomwidth, strengthwidth, plythick], center=false);
echo("#### Strengthening piece width = ", strengthwidth, " length = ", bottomwidth);
// back
translate([0, bottomlength-strengthwidth, 0]) {
cube(size=[bottomwidth, strengthwidth, plythick], center=false);
echo("#### Strengthening piece width = ", strengthwidth, " length = ", bottomwidth);
}
// left side
translate([0, strengthwidth, 0]) {
color("green")
cube(size=[strengthwidth, bottomlength-strengthwidth*2, plythick], center=false);
echo("#### Strengthening piece width = ", strengthwidth, " length = ", bottomwidth-strengthwidth*2);
}
// right side
translate([bottomwidth-strengthwidth, strengthwidth, 0]) {
color("green")
cube(size=[strengthwidth, bottomlength-strengthwidth*2, plythick], center=false);
echo("#### Strengthening piece width = ", strengthwidth, " length = ", bottomwidth-strengthwidth*2);
}
}
bottom_strengthening();