include include module horizontal_headfootend() { color("red") translate([0, 0, beam_width]) rotate([0, 90, 0]) cuben("Horizontal headfootend", size=[beam_width, beam_depth, matress_width]); } module horizontal_long() { color("red") translate([0,0, beam_depth]) rotate([-90, 0, 0]) cuben("Horizontal long", size=[beam_width, beam_depth, bed_length - beam_depth*2]); } module horizontal_medium_long_top() { color("red") translate([0,0, beam_depth]) rotate([-90, 0, 0]) cuben("Horizontal medium long", size=[beam_width, beam_depth, bed_length - beam_depth*3 - step_width]); } module horizontal_medium_long() { color("red") translate([0,0, beam_depth]) rotate([-90, 0, 0]) cuben("Horizontal medium long", size=[beam_width, beam_depth, bed_length - beam_depth*4 - step_width*2]); } module step(){ color("red") translate([0,0, beam_depth]) rotate([-90, 0, 0]) cuben("Horizontal step", size=[beam_width, beam_depth, step_width]); } module reinforce_vert(){ color("orange") translate([0, 0, 0]) cuben("Reinforcement vertical", size=[beam_width, beam_depth, bed_box_height - beam_depth*2]); }