add window 6

This commit is contained in:
2020-12-15 14:48:12 +01:00
parent d267882616
commit 03f0e2166c

View File

@@ -113,7 +113,7 @@ height_window_5 = 806;
// Order of measurements: // Order of measurements:
// tl, tr, br, bl // tl, tr, br, bl
depths_window_5 = [68, 73, 72, 66]; depths_window_5 = [71, 71, 71, 70];
// Order of measurements: // Order of measurements:
// top, right, bottom, left // top, right, bottom, left
@@ -129,6 +129,30 @@ step_window_5 = 30;
//------------------------------------------------------------------------------- //-------------------------------------------------------------------------------
// WINDOW 6
//-------------------------------------------------------------------------------
width_window_6 = 599;
height_window_6 = 1006;
// Order of measurements:
// tl, tr, br, bl
depths_window_6 = [68, 73, 72, 66];
// Order of measurements:
// top, right, bottom, left
measurements_window_6 = [
[1.2, 1.2, 0.7, 0.2, 0.2, 0.5, 0.2, 0.2, 0.1, 0.1, 0, 0, 0.1, 0, 0, 0.1, 0.8, 1.5, 2],
[0, 0.5, 0.8, 1.1, 1.5, 1.7, 2.6, 3.5, 3.9, 3.9, 4.5, 4.7, 5.3, 5.8, 5.9, 5.9, 5.9, 5.9, 6.4, 6.9, 6.7, 6.7, 6.7, 6.2, 5.6, 5.7, 5.4, 4.2, 3.2, 2.5, 1.5, 1.2, 0.3],
[1.5, 3.5, 5.2, 5, 5, 4.4, 4, 4, 4.7, 4.8, 3.9, 3.2, 2.3, 1.9, 2.3, 3.1, 4.4, 4, 1.6],
[0, 0, 0, 0.1, 0.7, 2, 2.8, 4.1, 4.9, 6.5, 7.1, 8.3, 9.4, 9.4, 9.8, 9.8, 9.1, 8.6, 8.6, 8.6, 8.8, 8.2, 7.6, 7.5, 6.9, 6.3, 4.9, 4.7, 4.2, 3.8, 3, 1.9, 0.8]
];
step_window_6 = 30;
//-------------------------------------------------------------------------------
module window_support(length, thickness_left, thickness_right, step, points){ module window_support(length, thickness_left, thickness_right, step, points){
max_iter = floor(length/step)-1; max_iter = floor(length/step)-1;
poly = [ poly = [
@@ -202,4 +226,5 @@ module window_frame(width, height, depths, measurements, step, show_param){
// window_frame(width_window_2, height_window_2, depths_window_2, measurements_window_2, step_window_2, 4); // window_frame(width_window_2, height_window_2, depths_window_2, measurements_window_2, step_window_2, 4);
// window_frame(width_window_3, height_window_3, depths_window_3, measurements_window_3, step_window_3, 4); // 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_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_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);