3
1
Back

[Panel] */ width = 36; // [1:1:84] /* [Holes] */ v_margin = hole_dist_top*2 + thickness; width_mm = hp_mm(width); // where to put the output jacks output_column = width_mm - thickness*2; // How much horizontal space needed for left-hand and right-hand sub-panels left_panel_width = 16.5+16.5+10.5; //two knob, one jack, plus space between them right_panel_width = width_mm - thickness*2; left_rib_x = thickness + 6 + tolerance; rotate_vector_cos = 0.94; // 'x' of 20 degree rotation rotate_vector_sin = 0.34; // 'y' of rotation left_edge = -rotate_vector_sin * rail_depth; right_edge = height * rotate_vector_cos; [left_edge, rotate_vector_cos * rail_depth], // top horizontal rib h_wall(h=4, l=right_rib_x); // middle horizontal rib h_wall(h=1.6, l=right_rib_x); // middle-bottom h rib // h_wall(h=1.6, l=right_rib_x); // bottom right [right_edge, rotate_vector_sin * height + rotate_vector_sin * height], // top horizontal rib // h_wall(h=1.6, l=right_rib_x); // middle-bottom h rib.

New Pull Request