18 lines
1,000 B
OpenSCAD
18 lines
1,000 B
OpenSCAD
|
|
include <dimensions.scad>
|
||
|
|
|
||
|
|
module back_plane(){
|
||
|
|
color("lightblue")
|
||
|
|
cube(size=[back_thickness, 2*outer_thickness - 2*outer_incut + cell_width * nr_cells_horizontal, 2*outer_thickness - 2*outer_incut + cell_height * nr_cells_vertical], center=false);
|
||
|
|
echo("#### Back: thickness = ", back_thickness, " height = ", 2*outer_thickness - 2*outer_incut + cell_height * nr_cells_vertical, "width = ", 2*outer_thickness - 2*outer_incut + cell_width * nr_cells_horizontal);
|
||
|
|
}
|
||
|
|
|
||
|
|
back_plane();
|
||
|
|
|
||
|
|
module back_plane_fancy(){
|
||
|
|
color("lightblue")
|
||
|
|
cube(size=[back_thickness, 2*outer_thickness - 2*outer_incut + cell_width * nr_cells_horizontal, 2*outer_thickness - 2*outer_incut + cell_height * nr_cells_vertical + back_fancy_height], center=false);
|
||
|
|
echo("#### Fancy back: thickness = ", back_thickness, " height = ", 2*outer_thickness - 2*outer_incut + cell_height * nr_cells_vertical + back_fancy_height, "width = ", 2*outer_thickness - 2*outer_incut + cell_width * nr_cells_horizontal);
|
||
|
|
}
|
||
|
|
|
||
|
|
back_plane_fancy();
|