openscad-parts/Bed_David/horizontals.scad
2026-03-21 10:46:44 +01:00

43 lines
1.3 KiB
OpenSCAD

include <dimensions.scad>
include <functions.scad>
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]);
}