Merge branch 'master' of github.com:josefprusa/Prusa3
[clinton/prusa3.git] / configuration.scad.dist
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 // PLEASE SELECT ONE OF THE CONFIGURATIONS BELOW
10 // BY UN-COMMENTING IT
11
12 // Uncomment for metric settings
13 // METRIC METRIC METRIC METRIC METRIC METRIC METRIC METRIC
14
15 include <inc/metric.scad>;
16
17 // Custom settings here, tailor to your supplies and print settings
18
19 // Select your belt type ******************************************************
20
21 //T2.5
22 belt_tooth_distance = 2.5;
23 belt_tooth_stride = 0.5;
24
25 //T5 (strongly discouraged)
26 //belt_tooth_distance = 5;
27 //belt_tooth_stride = 0.75;
28
29 //HTD3
30 //belt_tooth_distance = 3;
31 //belt_tooth_stride = 0.75;
32
33 // Choose bearing/bushing configuration ***************************************
34
35 //Choose from:
36
37 // 0 = Z as lm[e]8uu, X and Y bushings
38 // 1 = all bushings
39 // 2 = all bearings [default. Do not change unless you really know what you are doing]
40 // DO NOT OFFER 0 or 1 VARIANTS FOR SALE. We really mean that. In the long run it hurts everyone.
41
42 bearing_choice = 2;
43
44 // Bushing version
45 // 0 = square igus housings. By igus we mean JFM-0810-10 or GFM-0810-10
46 // 1 = round igus (works better if printed precisely)
47 // 2 = bronze self-aligning bushings
48 bushing_type = 0;
49
50 //Bearing version
51 // 0 = default lm8uu
52 // 1 = lme8uu
53 bearing_type = 0;
54
55 // Select idler bearing size **************************************************
56
57 // 0 = 608 [standard skate bearings]
58 // 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
59
60 idler_bearing = 0;
61
62 // Thickness of the XZ plate board
63 board_thickness = 16;
64
65 //Layer height * width over thickness. Used for idler sleeve
66 single_wall_width = 0.3*2.2;
67
68 // END of custom settings
69
70
71 // You are not supposed to change this
72 board_to_xz_distance = 26;
73 xaxis_rod_distance = 45;
74 carriage_l = 74;
75 carriage_hole_to_side = 5;
76 carriage_hole_height = 4;
77
78 //calculated from settings
79
80 idler_size = (idler_bearing == 0) ? 22 : 13;
81
82 //use 4.5 for 608, 2.5 for 624
83 idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
84
85 // CHANGE ONLY THE STUFF YOU KNOW
86 // IT WILL REPLACE DEFAULT SETTING
87
88 // RODS
89
90 // threaded_rod_diameter = 0;
91 // threaded_rod_diameter_horizontal = 0;
92 // smooth_bar_diameter = 0;
93 // smooth_bar_diameter_horizontal = 0;
94
95 // Nuts and bolts
96
97 // m8_diameter = 0;
98 // m8_nut_diameter = 0;
99
100 // m4_diameter = 0;
101 // m4_nut_diameter = 0;
102
103 // m3_diameter = 0;
104 // m3_nut_diameter = 0;
105
106 // Bushing holder
107
108 // bushing_core_diameter = smooth_bar_diameter;
109 // bushing_material_thickness = 0;
110
111 ///counted stuff
112 m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
113
114 // functions
115 include <inc/functions.scad>
116
117
118 // These constants define the geometry of the complete-printer.scad
119
120 x_smooth_rod_length=325;
121 y_smooth_rod_length=405;
122 z_smooth_rod_length=235;
123 bed_x_size=225;
124 bed_y_size=225;