Commit | Line | Data |
---|---|---|
bb72c170 | 1 | // PRUSA iteration3 |
d3618a65 NZ |
2 | // Configuration file |
3 | // GNU GPL v3 | |
bb72c170 VAH |
4 | // Josef Průša <josefprusa@me.com> |
5 | // Václav 'ax' Hůla <axtheb@gmail.com> | |
d3618a65 NZ |
6 | // http://www.reprap.org/wiki/Prusa_Mendel |
7 | // http://github.com/prusajr/PrusaMendel | |
8 | ||
07020dea | 9 | include <inc/metric.scad>; |
0205afdc | 10 | include <inc/conf_bushing.scad>; |
d3618a65 | 11 | |
8a211b82 | 12 | // Custom settings here, tailor to your supplies and print settings |
d3618a65 | 13 | |
0205afdc VAH |
14 | layer_height = 0.3; |
15 | width_over_thickness = 2.2; | |
16 | ||
8a211b82 | 17 | // Select your belt type ****************************************************** |
d3618a65 | 18 | |
8a211b82 | 19 | //T2.5 |
1d232142 | 20 | belt_tooth_distance = 2.5; |
0f6ec51a | 21 | belt_tooth_ratio = 0.75; |
8a211b82 VAH |
22 | |
23 | //T5 (strongly discouraged) | |
24 | //belt_tooth_distance = 5; | |
a6e5eb6b | 25 | //belt_tooth_ratio = 0.75; |
8a211b82 VAH |
26 | |
27 | //HTD3 | |
1d232142 VAH |
28 | //belt_tooth_distance = 3; |
29 | //belt_tooth_ratio = 0.75; | |
8a211b82 | 30 | |
ac66acc0 KW |
31 | //MXL |
32 | //belt_tooth_distance = 2.032; | |
33 | //belt_tooth_ratio = 0.64; | |
34 | ||
88fc28e9 VAH |
35 | //GT2 there is bunch of GT2 belts with different tooth-to-tooth distance |
36 | //adjust to your needs | |
60d1f4f7 KW |
37 | //belt_tooth_distance = 2; |
38 | //belt_tooth_ratio = 0.5; | |
39 | ||
4ef881c1 | 40 | // For T type belts you will probably want 0.8mm or so. |
77f496ef VAH |
41 | belt_thickness = 1.75; |
42 | ||
8a211b82 | 43 | // Choose bearing/bushing configuration *************************************** |
0205afdc VAH |
44 | // conf_b_* are in inc/conf_bushing.scad |
45 | ||
46 | bushing_xy = conf_b_lm8uu; | |
47 | bushing_z = conf_b_lm8uu; | |
ad345632 VAH |
48 | // for longer bearings use one shorter in x-carriage to make place for belt attachment |
49 | // by default use same as xy | |
50 | bushing_carriage = bushing_xy; | |
0205afdc | 51 | |
8a211b82 | 52 | // Select idler bearing size ************************************************** |
88fc28e9 | 53 | // [outer_diameter, width, inner_diameter, uses_guide] |
690004c7 | 54 | // 608 [standard skate bearings] with bearing guide |
88fc28e9 | 55 | bearing_608 = [22, 7, 8, 1]; |
0f6ec51a | 56 | //608 bearings with fender washers. Not good at all, the belt brushes against the carriage |
690004c7 | 57 | bearing_608_washers = [22, 10, 8, 0]; |
0f6ec51a VAH |
58 | // one 625 with guides |
59 | bearing_625 = [16, 5, 5, 1]; | |
60 | // two 625 - for use without bearing guides. | |
61 | bearing_625_double = [16, 10, 5, 0]; | |
62 | ||
63 | // those two here are really good: | |
dd8f23d3 | 64 | bearing_624_double = [13, 10, 4, 0]; |
0f6ec51a VAH |
65 | // this one has roughly same diameter as pulley, makes belt parallel so its prettier |
66 | bearing_623_double = [10, 8, 3, 0]; | |
d3618a65 | 67 | |
1d232142 | 68 | idler_bearing = bearing_624_double; |
8a211b82 | 69 | |
0f6ec51a VAH |
70 | //Select carriage lenght |
71 | // 30 for single carriage extruder (two holes with centers 30mm apart) | |
72 | // 50 for wade or single with fan (three holes, 30-20) | |
73 | // 80 for full length carriage (four holes, 30-20-30) | |
74 | ||
75 | carriage_l_base = 50; | |
76 | ||
c6265fc0 | 77 | // Fillets ******************************************************************** |
4edfdf22 VAH |
78 | // fillets are rounded corners of boxes. The right engineering term is probably radius |
79 | // but cad software calls it fillet. | |
88fc28e9 | 80 | // mostly cosmetic, except z axis. |
690004c7 | 81 | // 0 = no fillets |
c6265fc0 | 82 | // 1 = fillet |
4edfdf22 VAH |
83 | // 2 = chamfer (cut the edges at 45deg. angle) |
84 | // Please do put only parts with fillets on sale, other options are not really tested | |
c6265fc0 | 85 | |
0205afdc | 86 | use_fillets = 1; |
c6265fc0 | 87 | |
4edfdf22 | 88 | //set to 0 for single plate (affects z axis and screws that attach RP parts to frame) |
0c4b5d9a | 89 | i_am_box = 1; |
db5e5ac1 | 90 | |
54a84af0 | 91 | //if you do your own plate and can move bottom Z screws 5mm up set this to 0 to |
1f2d5a05 | 92 | //get stronger motor mount. Only for i_am_box = 0 |
54a84af0 | 93 | i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1; |
fdc7f8d6 | 94 | |
59ab46d1 VAH |
95 | |
96 | // Radius of long threaded rod on Y frame | |
97 | ||
98 | // Affects y-axis-corner (both box and single plate) | |
99 | // and y-axis-bracket (box only) | |
100 | ||
fe687d90 | 101 | //Use 5.4 for M10 or 4.4 for M8 |
fe687d90 VAH |
102 | y_threaded_rod_long_r = 5.4; |
103 | ||
59ab46d1 VAH |
104 | |
105 | // Thickness of the boards that make the box frame. | |
106 | ||
107 | // in y-axis-corner it governs the height of the corners by adjusting the | |
108 | // distance between ground and M10 threaded rod. (both box and single plate) | |
109 | ||
110 | // For box model, the parts that hold Z smooth rod have one hole from front | |
111 | // and one from side, and this setting makes sure that the screw from side | |
112 | // is in the center of the plank. | |
113 | ||
114 | // Use 12 for single plate | |
115 | // or 20 if you want to use the Y lm8uu holders | |
116 | // (extras/bearing-holder-single-plate-y) | |
a4e27e20 | 117 | board_thickness = 12; |
8dedb756 | 118 | |
1f623fc7 JG |
119 | // segments of small holes. some poeple claim that a low value makes them easier to print. |
120 | small_hole_segments=7; | |
121 | ||
8a211b82 VAH |
122 | // END of custom settings |
123 | ||
124 | ||
8a211b82 VAH |
125 | // You are not supposed to change this |
126 | board_to_xz_distance = 26; | |
a97a50ea | 127 | xaxis_rod_distance = 45; |
d3618a65 | 128 | |
bb72c170 | 129 | //calculated from settings |
0205afdc | 130 | single_wall_width = width_over_thickness * layer_height; |
bb72c170 | 131 | |
690004c7 | 132 | idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2.5 * idler_bearing[3] ; |
9a4ac006 VAH |
133 | |
134 | //deltas are used to enlarge parts for bigger bearings | |
135 | xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9; | |
136 | z_delta = (bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7; | |
137 | ||
d3618a65 NZ |
138 | // CHANGE ONLY THE STUFF YOU KNOW |
139 | // IT WILL REPLACE DEFAULT SETTING | |
140 | ||
141 | // RODS | |
142 | ||
143 | // threaded_rod_diameter = 0; | |
144 | // threaded_rod_diameter_horizontal = 0; | |
145 | // smooth_bar_diameter = 0; | |
146 | // smooth_bar_diameter_horizontal = 0; | |
147 | ||
148 | // Nuts and bolts | |
149 | ||
150 | // m8_diameter = 0; | |
151 | // m8_nut_diameter = 0; | |
152 | ||
153 | // m4_diameter = 0; | |
154 | // m4_nut_diameter = 0; | |
155 | ||
156 | // m3_diameter = 0; | |
157 | // m3_nut_diameter = 0; | |
158 | ||
159 | // Bushing holder | |
160 | ||
161 | // bushing_core_diameter = smooth_bar_diameter; | |
162 | // bushing_material_thickness = 0; | |
163 | ||
d3618a65 NZ |
164 | ///counted stuff |
165 | m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2; | |
166 | ||
07020dea VAH |
167 | // functions |
168 | include <inc/functions.scad> | |
54e39c4a | 169 | |
54e39c4a TF |
170 | // These constants define the geometry of the complete-printer.scad |
171 | ||
28159e2f DR |
172 | //x_smooth_rod_length=325; |
173 | //y_smooth_rod_length=405; | |
174 | //z_smooth_rod_length=235; | |
175 | bed_x_size=225; | |
176 | bed_y_size=225; | |
177 | ||
0205afdc | 178 | x_smooth_rod_length=460+board_thickness*2; // 492 for 16mm thickness; 484 for 12mm thickness |
28159e2f | 179 | y_smooth_rod_length=470; |
0205afdc | 180 | z_smooth_rod_length=405; |