Commit | Line | Data |
---|---|---|
099c45e6 VAH |
1 | // PRUSA iteration3 |
2 | // Configuration file | |
3 | // GNU GPL v3 | |
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 | |
8 | ||
9 | include <inc/metric.scad>; | |
10 | include <inc/conf_bushing.scad>; | |
11 | ||
12 | // Custom settings here, tailor to your supplies and print settings | |
13 | ||
14 | layer_height = 0.3; | |
15 | width_over_thickness = 2.2; | |
16 | ||
17 | // Select your belt type ****************************************************** | |
18 | ||
19 | //T2.5 | |
20 | //belt_tooth_distance = 2.5; | |
21 | //belt_tooth_ratio = 0.75; | |
22 | ||
23 | //T5 (strongly discouraged) | |
24 | //belt_tooth_distance = 5; | |
25 | //belt_tooth_ratio = 0.75; | |
26 | ||
27 | //HTD3 | |
28 | belt_tooth_distance = 3; | |
29 | belt_tooth_ratio = 0.75; | |
30 | ||
31 | //MXL | |
32 | //belt_tooth_distance = 2.032; | |
33 | //belt_tooth_ratio = 0.64; | |
34 | ||
35 | //GT2 there is bunch of GT2 belts with different tooth-to-tooth distance | |
36 | //adjust to your needs | |
37 | //belt_tooth_distance = 2; | |
38 | //belt_tooth_ratio = 0.5; | |
39 | ||
40 | // For T type belts you will probably want 0.8mm or so. | |
41 | belt_thickness = 1.75; | |
42 | ||
43 | // Choose bearing/bushing configuration *************************************** | |
44 | // conf_b_* are in inc/conf_bushing.scad | |
45 | ||
46 | bushing_xy = conf_b_lm12luu; | |
47 | bushing_z = conf_b_lm12luu; | |
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 = conf_b_lm12uu; | |
51 | ||
52 | // Select idler bearing size ************************************************** | |
53 | // [outer_diameter, width, inner_diameter, uses_guide] | |
54 | // 608 [standard skate bearings] with bearing guide | |
55 | bearing_608 = [22, 7, 8, 1]; | |
56 | //608 bearings with fender washers. Not good at all, the belt brushes against the carriage | |
57 | bearing_608_washers = [22, 10, 8, 0]; | |
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: | |
64 | bearing_624_double = [13, 9, 4, 0]; | |
65 | // this one has roughly same diameter as pulley, makes belt parallel so its prettier | |
66 | bearing_623_double = [10, 8, 3, 0]; | |
67 | ||
68 | idler_bearing = bearing_624_double; | |
69 | ||
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 = 80; | |
76 | ||
77 | // Fillets ******************************************************************** | |
78 | // mostly cosmetic, except z axis. | |
79 | // 0 = no fillets | |
80 | // 1 = fillet | |
81 | ||
82 | use_fillets = 1; | |
83 | ||
84 | //set to 0 for single plate (affects z axis and screws that attach RP parts tp frame) | |
85 | i_am_box = 1; | |
86 | ||
87 | //if you do your own plate and can move bottom Z screws 5mm up set this to 0 to | |
88 | //get stronger motor mount. Only for i_am_box = 0 | |
89 | i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1; | |
90 | ||
91 | //radius of long threaded rod on Y frame | |
92 | //Use 5.4 for M10 or 4.4 for M8 | |
93 | y_threaded_rod_long_r = 5.4; | |
94 | ||
95 | // Thickness of the XZ plate board. Leave at 12 for single plate | |
96 | board_thickness = 18; | |
97 | ||
98 | // END of custom settings | |
99 | ||
100 | ||
101 | // You are not supposed to change this | |
102 | board_to_xz_distance = 26; | |
103 | xaxis_rod_distance = 45; | |
104 | ||
105 | //calculated from settings | |
106 | single_wall_width = width_over_thickness * layer_height; | |
107 | ||
108 | idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2.5 * idler_bearing[3] ; | |
109 | ||
110 | //deltas are used to enlarge parts for bigger bearings | |
111 | xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9; | |
112 | z_delta = (bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7; | |
113 | ||
114 | // CHANGE ONLY THE STUFF YOU KNOW | |
115 | // IT WILL REPLACE DEFAULT SETTING | |
116 | ||
117 | // RODS | |
118 | ||
119 | // threaded_rod_diameter = 0; | |
120 | // threaded_rod_diameter_horizontal = 0; | |
121 | // smooth_bar_diameter = 0; | |
122 | // smooth_bar_diameter_horizontal = 0; | |
123 | ||
124 | // Nuts and bolts | |
125 | ||
126 | // m8_diameter = 0; | |
127 | // m8_nut_diameter = 0; | |
128 | ||
129 | // m4_diameter = 0; | |
130 | // m4_nut_diameter = 0; | |
131 | ||
132 | // m3_diameter = 0; | |
133 | // m3_nut_diameter = 0; | |
134 | ||
135 | // Bushing holder | |
136 | ||
137 | // bushing_core_diameter = smooth_bar_diameter; | |
138 | // bushing_material_thickness = 0; | |
139 | ||
140 | ///counted stuff | |
141 | m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2; | |
142 | ||
143 | // functions | |
144 | include <inc/functions.scad> | |
145 | ||
146 | // These constants define the geometry of the complete-printer.scad | |
147 | ||
148 | //x_smooth_rod_length=325; | |
149 | //y_smooth_rod_length=405; | |
150 | //z_smooth_rod_length=235; | |
151 | bed_x_size=225; | |
152 | bed_y_size=225; | |
153 | ||
154 | x_smooth_rod_length=460+board_thickness*2; // 492 for 16mm thickness; 484 for 12mm thickness | |
155 | y_smooth_rod_length=470; | |
156 | z_smooth_rod_length=405; |