4 // Josef Průša <josefprusa@me.com>
5 // Václav 'ax' Hůla <axtheb@gmail.com>
6 // http://www.reprap.org/wiki/Prusa_Mendel
7 // http://github.com/prusajr/PrusaMendel
9 // PLEASE SELECT ONE OF THE CONFIGURATIONS BELOW
10 // BY UN-COMMENTING IT
12 include <inc/metric.scad>;
13 include <inc/conf_bushing.scad>;
15 // Custom settings here, tailor to your supplies and print settings
18 width_over_thickness = 2.2;
20 // Select your belt type ******************************************************
23 belt_tooth_distance = 2.5;
24 belt_tooth_ratio = 0.5;
26 //T5 (strongly discouraged)
27 //belt_tooth_distance = 5;
28 //belt_tooth_ratio = 0.75;
31 //belt_tooth_distance = 3;
32 //belt_tooth_ratio = 0.75;
35 //belt_tooth_distance = 2.032;
36 //belt_tooth_ratio = 0.64;
38 //GT2 there is bunch of GT2 belts with different tooth-to-tooth distance
39 //adjust to your needs
40 //belt_tooth_distance = 2;
41 //belt_tooth_ratio = 0.5;
43 // Choose bearing/bushing configuration ***************************************
44 // conf_b_* are in inc/conf_bushing.scad
46 bushing_xy = conf_b_lm8uu;
47 bushing_z = conf_b_lm8uu;
49 // Select idler bearing size **************************************************
50 // [outer_diameter, width, inner_diameter, uses_guide]
51 // 608 [standard skate bearings]
52 bearing_608 = [22, 7, 8, 1];
53 // 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
54 bearing_624 = [16, 5, 4, 1];
55 // two 624 - for use without bearing guides
56 bearing_624_double = [16, 10, 4, 0];
58 idler_bearing = bearing_624_double;
60 // Fillets ********************************************************************
61 // mostly cosmetic, except z axis.
67 //set to 0 for single plate (affects z axis)
70 //if you do your own plate and can move bottom Z screws 5mm up set this to 0 to
71 //get stronger motor mount. Only for i_am_box = 0
72 i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1;
74 //radius of long threaded rod on Y frame
75 //Use 5.4 for M10 or 4.4 for M8
77 y_threaded_rod_long_r = 5.4;
79 // Thickness of the XZ plate board. Leave at 12 for single plate
82 // END of custom settings
85 // You are not supposed to change this
86 board_to_xz_distance = 26;
87 xaxis_rod_distance = 45;
89 //calculated from settings
90 single_wall_width = width_over_thickness * layer_height;
92 idler_size = (idler_bearing == 0) ? 22 : 13;
94 idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
96 idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2 * idler_bearing[3];
99 //deltas are used to enlarge parts for bigger bearings
100 xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9;
101 z_delta = (bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7;
103 // CHANGE ONLY THE STUFF YOU KNOW
104 // IT WILL REPLACE DEFAULT SETTING
108 // threaded_rod_diameter = 0;
109 // threaded_rod_diameter_horizontal = 0;
110 // smooth_bar_diameter = 0;
111 // smooth_bar_diameter_horizontal = 0;
116 // m8_nut_diameter = 0;
119 // m4_nut_diameter = 0;
122 // m3_nut_diameter = 0;
126 // bushing_core_diameter = smooth_bar_diameter;
127 // bushing_material_thickness = 0;
130 m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
133 include <inc/functions.scad>
135 // These constants define the geometry of the complete-printer.scad
137 //x_smooth_rod_length=325;
138 //y_smooth_rod_length=405;
139 //z_smooth_rod_length=235;
143 x_smooth_rod_length=460+board_thickness*2; // 492 for 16mm thickness; 484 for 12mm thickness
144 y_smooth_rod_length=470;
145 z_smooth_rod_length=405;