include <dimensions.scad>

use <horizontal_slat.scad>
use <vertical_slat.scad>
use <horizontal_outside.scad>
use <vertical_outside.scad>
use <back_plane.scad>

translate([0, -outer_incut, 0]){
	for (i=[1:nr_cells_vertical-1]){
		translate([0, 0, cell_height*i])
			horizontal_slat();
	}
}

translate([0, 0, -outer_incut]){
	for (i=[1:nr_cells_horizontal-1]){
		translate([0, cell_width*i, 0])
			vertical_slat();
	}
}

translate([0, -(outer_thickness), 0])
	vertical_outside();
translate([0, cell_width*nr_cells_horizontal, 0])
	vertical_outside();

translate([0, 0, -outer_thickness])
	horizontal_outside();
translate([0, 0, cell_height*nr_cells_vertical])
	horizontal_outside();

translate([-back_thickness, -(outer_thickness), -(outer_thickness)])
back_plane_fancy();
