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