parametric x axis distance creeps in
[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 bearing_type = 0;
56
57 // Select idler bearing size **************************************************
58
59 // 0 = 608 [standard skate bearings]
60 // 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
61
62 idler_bearing = 0;
63
64 // Thickness of the XZ plate board
65 board_thickness = 16;
66
67 //Layer height * width over thickness. Used for idler sleeve
68 single_wall_width = 0.3*2.2;
69
70 // END of custom settings
71
72
73 // You are not supposed to change this
74 board_to_xz_distance = 26;
75 xaxis_rod_distance = 45;
76
77 //calculated from settings
78
79 idler_size = (idler_bearing == 0) ? 22 : 13;
80
81 //use 4.5 for 608, 2.5 for 624
82 idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.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
111 ///counted stuff
112 m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
113
114 // functions
115 include <inc/functions.scad>