box config update
[clinton/prusa3.git] / box_frame / 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 include <inc/metric.scad>;
13 include <inc/conf_bushing.scad>;
14
15 // Custom settings here, tailor to your supplies and print settings
16
17 layer_height = 0.3;
18 width_over_thickness = 2.2;
19
20 // Select your belt type ******************************************************
21
22 //T2.5
23 belt_tooth_distance = 2.5;
24 belt_tooth_ratio = 0.5;
25
26 //T5 (strongly discouraged)
27 //belt_tooth_distance = 5;
28 //belt_tooth_ratio = 0.75;
29
30 //HTD3
31 //belt_tooth_distance = 3;
32 //belt_tooth_ratio = 0.75;
33
34 //MXL
35 //belt_tooth_distance = 2.032;
36 //belt_tooth_ratio = 0.64;
37
38 //GT2
39 //belt_tooth_distance = 2;
40 //belt_tooth_ratio = 0.5;
41
42 // Choose bearing/bushing configuration ***************************************
43 // conf_b_* are in inc/conf_bushing.scad
44
45 bushing_xy = conf_b_lm8uu;
46 bushing_z = conf_b_lm8uu;
47
48 // Select idler bearing size **************************************************
49
50 // 0 = 608 [standard skate bearings]
51 // 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
52
53 idler_bearing = 0;
54
55 // Fillets ********************************************************************
56 // 0 = no fillets
57 // 1 = fillet
58
59 use_fillets = 1;
60
61 //set to 0 for single plate (affects z axis)
62 i_am_box = 0;
63
64 // Thickness of the XZ plate board
65 board_thickness = 12;
66
67 // END of custom settings
68
69
70 // You are not supposed to change this
71 board_to_xz_distance = 26;
72 xaxis_rod_distance = 45;
73
74 //calculated from settings
75 single_wall_width = width_over_thickness * layer_height;
76
77 idler_size = (idler_bearing == 0) ? 22 : 13;
78
79 //use 4.5 for 608, 2.5 for 624
80 idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
81
82 idler_width = (idler_bearing == 0) ? 9 : 5;
83
84 // CHANGE ONLY THE STUFF YOU KNOW
85 // IT WILL REPLACE DEFAULT SETTING
86
87 // RODS
88
89 // threaded_rod_diameter = 0;
90 // threaded_rod_diameter_horizontal = 0;
91 // smooth_bar_diameter = 0;
92 // smooth_bar_diameter_horizontal = 0;
93
94 // Nuts and bolts
95
96 // m8_diameter = 0;
97 // m8_nut_diameter = 0;
98
99 // m4_diameter = 0;
100 // m4_nut_diameter = 0;
101
102 // m3_diameter = 0;
103 // m3_nut_diameter = 0;
104
105 // Bushing holder
106
107 // bushing_core_diameter = smooth_bar_diameter;
108 // bushing_material_thickness = 0;
109
110 ///counted stuff
111 m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
112
113 // functions
114 include <inc/functions.scad>
115
116 // These constants define the geometry of the complete-printer.scad
117
118 //x_smooth_rod_length=325;
119 //y_smooth_rod_length=405;
120 //z_smooth_rod_length=235;
121 bed_x_size=225;
122 bed_y_size=225;
123
124 x_smooth_rod_length=460+board_thickness*2; // 492 for 16mm thickness; 484 for 12mm thickness
125 y_smooth_rod_length=470;
126 z_smooth_rod_length=405;