include <dimensions.scad>

module beam(){
	cube(size=[topbeamthickness, toplength - 2 * topsidethickness,  topheight], center=false);
	echo("#### Top beam: length = ", toplength - 2*topsidethickness + 2*topslitdepth, " height = ", topheight, "width = ", topbeamthickness);
}

module topside(){
	color("red")
	cube(size=[topdepth, topsidethickness, topheight], center=false);
	echo("#### Top side beam: length = ", topdepth, " height = ", topheight, "width = ", topbeamthickness);
}

beam();
topside();

