3
1
Back

KnobHeight = 20; // [0:0%, 10:10%, 20:20%, 30:30%, 40:40%, 50:50%] // Width of module (HP) width = 14; // [1:1:84] /* [Holes] */ hole_dist_top = 2.5; // margins from edges h_margin = thickness*2; v_margin = hole_dist_top*2; v_margin = hole_dist_top*2 + thickness; working_height = height * rotate_vector_cos; points = [ [left_edge, rotate_vector_cos * rail_depth], // top left [left_edge, 0], // drop to axis [left_edge, -extra_depth], // bottom right [right_edge, rotate_vector_sin * height + rotate_vector_sin * rail_depth] // top left.

New Pull Request