1 // Moved from config.scad
3 board_to_xz_distance = 26;
4 xaxis_rod_distance = 45;
6 //calculated from settings
7 single_wall_width = width_over_thickness * layer_height;
9 idler_width = max(belt_width, (idler_bearing[1] > 7 ? idler_bearing[1] : 7)) + 2.5 * idler_bearing[3] ;
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;
14 // fixme: this seems useless now but ... ?
15 z_delta = 0; //(bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7;
17 m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6)) * 2;
20 i_am_box = (frame_type == frame_box);
22 // shift smooth rod and leadscrew mounts simultaneously
23 zaxis_delta_x = (frame_type == frame_alu) ? 5 : 0;
24 zaxis_delta_y = (frame_type == frame_alu) ? -5 : 0;
26 // shift motor/leadscrew mount to clear bearings and x-rods
27 // X/Y ARE SWITCHED FROM X-END CONFIGURATION BE WARNED
28 // BONUS FUN: X (Y in x-end configuration) IS INVERTED!
29 // fixed, but it was all a fucking tautology in the end whoops
30 zmotor_delta_x = ((frame_type == frame_alu) && (bushing_z[1] > 9)) ? 3 : 0;
31 zmotor_delta_y = ((frame_type == frame_alu) && (bushing_xy[0] >= 5)) ? 5 : 0;