z-axis: ignore z_delta setting
[clinton/prusa3.git] / box_frame / inc / settings.scad
CommitLineData
815fe4ec
VAH
1// Moved from config.scad
2
3board_to_xz_distance = 26;
4xaxis_rod_distance = 45;
5
6//calculated from settings
7single_wall_width = width_over_thickness * layer_height;
8
9idler_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
12xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9;
303a4707
CE
13
14// fixme: this seems useless now but ... ?
15z_delta = 0; //(bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7;
815fe4ec
VAH
16
17m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6)) * 2;
c42fa5ac
CE
18
19// deprecated
20i_am_box = (frame_type == frame_box);
51dbb82b
CE
21
22// shift smooth rod and leadscrew mounts together
23zaxis_delta_x = (frame_type == frame_alu) ? 5 : 0;
24zaxis_delta_y = (frame_type == frame_alu) ? 5 : 0;
25
26// shift motor/leadscrew mount to clear bearings and x-rods
27zmotor_delta_x = ((frame_type == frame_alu) && (bushing_z[1] > 9)) ? 5 : 0;
28zmotor_delta_y = ((frame_type == frame_alu) && (bushing_xy[0] >= 5)) ? -3 : 0;