more designs

This commit is contained in:
2021-02-10 14:26:28 +01:00
parent 82bde97728
commit 40e425e503
6 changed files with 386 additions and 1 deletions

View File

@@ -153,6 +153,30 @@ step_window_6 = 30;
//-------------------------------------------------------------------------------
// WINDOW 7
//-------------------------------------------------------------------------------
width_window_7 = 599;
height_window_7 = 1007;
// Order of measurements:
// tl, tr, br, bl
depths_window_7 = [70, 74, 66, 70];
// Order of measurements:
// top, right, bottom, left
measurements_window_7 = [
[1.1, 0.7, 0.5, 0.5, 0.5, 0.5, 1, 1.6, 1.1, 1.1, 1.2, 0.9, 0.1, 0, 0, 0, 0.1, 0.6, 0.9],
[0, 0.2, 0.3, 0.5, 0.1, 0, 0.6, 1.1, 1.9, 2.5, 3, 3.2, 3, 3, 2.1, 1.6, 1.6, 1.1, 1.2, 1.1, 1.1, 1.1, 1.1, 1.7, 1.9, 2.4, 3.5, 4, 4, 4, 3.2, 1.6, 0],
[1.5, 3.5, 3.9, 3.7, 3.2, 2.8, 2.8, 3.1, 3.1, 4.2, 2.8, 2, 1.8, 1.8, 2.1, 3, 3.9, 2.4, 0.7],
[1.5, 2.5, 3.7, 3.8, 4.2, 4.2, 3.9, 3.6, 3.1, 2.8, 2.8, 2.3, 2.3, 1.8, 1.8, 1.8, 1.8, 1.5, 1.7, 2.1, 2.4, 2.9, 2.9, 2.9, 2.9, 3.3, 2.8, 2.4, 1.8, 1.3, 0.9, 0.1, 0]
];
step_window_7 = 30;
//-------------------------------------------------------------------------------
module window_support(length, thickness_left, thickness_right, step, points){
max_iter = floor(length/step)-1;
poly = [
@@ -227,4 +251,5 @@ module window_frame(width, height, depths, measurements, step, show_param){
// window_frame(width_window_3, height_window_3, depths_window_3, measurements_window_3, step_window_3, 4);
// window_frame(width_window_4, height_window_4, depths_window_4, measurements_window_4, step_window_4, 4);
// window_frame(width_window_5, height_window_5, depths_window_5, measurements_window_5, step_window_5, 4);
window_frame(width_window_6, height_window_6, depths_window_6, measurements_window_6, step_window_6, 0);
// window_frame(width_window_6, height_window_6, depths_window_6, measurements_window_6, step_window_6, 4);
window_frame(width_window_7, height_window_7, depths_window_7, measurements_window_7, step_window_7, 3);