Commit | Line | Data |
---|---|---|
815fe4ec VAH |
1 | // Moved from config.scad |
2 | ||
3 | board_to_xz_distance = 26; | |
4 | xaxis_rod_distance = 45; | |
5 | ||
6 | //calculated from settings | |
7 | single_wall_width = width_over_thickness * layer_height; | |
8 | ||
9 | idler_width = max(belt_width, (idler_bearing[1] > 7 ? idler_bearing[1] : 7)) + 2.5 * idler_bearing[3] ; | |
10 | ||
11 | //deltas are used to enlarge parts for bigger bearings | |
12 | xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9; | |
303a4707 CE |
13 | |
14 | // fixme: this seems useless now but ... ? | |
15 | z_delta = 0; //(bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7; | |
815fe4ec VAH |
16 | |
17 | m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6)) * 2; | |
c42fa5ac CE |
18 | |
19 | // deprecated | |
20 | i_am_box = (frame_type == frame_box); | |
51dbb82b CE |
21 | |
22 | // shift smooth rod and leadscrew mounts together | |
23 | zaxis_delta_x = (frame_type == frame_alu) ? 5 : 0; | |
24 | zaxis_delta_y = (frame_type == frame_alu) ? 5 : 0; | |
25 | ||
26 | // shift motor/leadscrew mount to clear bearings and x-rods | |
27 | zmotor_delta_x = ((frame_type == frame_alu) && (bushing_z[1] > 9)) ? 5 : 0; | |
28 | zmotor_delta_y = ((frame_type == frame_alu) && (bushing_xy[0] >= 5)) ? -3 : 0; |