openscad-parts/Werkbank-balken/stand.scad
2024-04-09 20:13:09 +02:00

22 lines
942 B
OpenSCAD

include <dimensions.scad>
module standbottom(){
cube(size=[topdepth - 2*standoffset, standbeamthickness, standbeamthickness], center=false);
echo("#### Stand bottom beam: length = ", topdepth - 2*standoffset, " height = ", standbeamthickness, "width = ", standbeamthickness);
}
module standtop(){
color("blue")
cube(size=[topdepth - 2*standoffset - 2*standvertoffset, standbeamthickness, standbeamthickness], center=false);
echo("#### Stand top beam: length = ", topdepth - 2*standoffset - 2*standvertoffset, " height = ", standbeamthickness, "width = ", standbeamthickness);
}
module standvertical(){
color("green")
cube(size=[standbeamthickness, standbeamthickness, benchheight-topheight-2*standbeamthickness], center=false);
echo("#### Stand vertical beam: length = ", benchheight-topheight-2*standbeamthickness, " height = ", standbeamthickness, "width = ", standbeamthickness);
}
standbottom();
standvertical();
standtop();