Merge remote-tracking branch 'upstream/master'
[clinton/prusa3.git] / configuration.scad.dist
CommitLineData
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
NZ
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
07020dea 15include <inc/metric.scad>;
d3618a65 16
8a211b82 17// Custom settings here, tailor to your supplies and print settings
d3618a65 18
8a211b82 19// Select your belt type ******************************************************
d3618a65 20
8a211b82
VAH
21//T2.5
22belt_tooth_distance = 2.5;
a6e5eb6b 23belt_tooth_ratio = 0.5;
8a211b82
VAH
24
25//T5 (strongly discouraged)
26//belt_tooth_distance = 5;
a6e5eb6b 27//belt_tooth_ratio = 0.75;
8a211b82
VAH
28
29//HTD3
30//belt_tooth_distance = 3;
a6e5eb6b 31//belt_tooth_ratio = 0.75;
8a211b82 32
ac66acc0
KW
33//MXL
34//belt_tooth_distance = 2.032;
35//belt_tooth_ratio = 0.64;
36
8a211b82
VAH
37// Choose bearing/bushing configuration ***************************************
38
39//Choose from:
40
2b2a47cc
VAH
41// 0 = Z as lm[e]8uu, X and Y bushings. (Quiet variant)
42// 1 = all bushings (bushings on Z will probably develop wobble fast)
43// 2 = all bearings [default. Do not change unless you really know what you are doing] (safe choice)
bb72c170 44// DO NOT OFFER 0 or 1 VARIANTS FOR SALE. We really mean that. In the long run it hurts everyone.
8a211b82 45
bb72c170 46bearing_choice = 2;
8a211b82
VAH
47
48// Bushing version
2b2a47cc
VAH
49// 0 = igus in square housings. By igus we mean JFM-0810-10 or GFM-0810-10
50// (needs less work during building, but will have wobble)
51// 1 = round igus (may need redrilling witg 10mm drill)
52// 2 = bronze self-aligning bushings (not tested)
53bushing_type = 1;
8a211b82
VAH
54
55//Bearing version
56// 0 = default lm8uu
57// 1 = lme8uu
c92ac46d 58bearing_type = 0;
8a211b82
VAH
59
60// Select idler bearing size **************************************************
d3618a65 61
bb72c170
VAH
62// 0 = 608 [standard skate bearings]
63// 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
8dedb756 64
bb72c170 65idler_bearing = 0;
8a211b82 66
2b2a47cc
VAH
67// z-rod constraint bearing ***************************************************
68// 0 = none (fine unless you have heavy x axis)
69// 1 = 608 (needs precise insert)
70// 2 = 625 [inner diameter matches threaded rod] (default, even without bearing
71// inserted as it keeps top of threaded rod hidden)
db5e5ac1 72
2b2a47cc 73z_rod_constraint = 2;
db5e5ac1 74
8a211b82 75// Thickness of the XZ plate board
a4e27e20 76board_thickness = 12;
8dedb756 77
8a211b82 78//Layer height * width over thickness. Used for idler sleeve
db5e5ac1 79single_wall_width = 0.3*2.2*1.01;
8a211b82
VAH
80
81// END of custom settings
82
83
8a211b82
VAH
84// You are not supposed to change this
85board_to_xz_distance = 26;
a97a50ea 86xaxis_rod_distance = 45;
2b2a47cc
VAH
87//included wade has mounting hole centers 50mm apart
88carriage_l = 62;
89carriage_hole_to_side = 6;
ff44e5ab 90carriage_hole_height = 4;
2b2a47cc
VAH
91x_beltclamp_shortening = 29;
92x_beltclamp_width = 20;
d3618a65 93
bb72c170
VAH
94//calculated from settings
95
96idler_size = (idler_bearing == 0) ? 22 : 13;
97
db5e5ac1
VAH
98z_rod_constraint_outer = (z_rod_constraint == 0) ? 22 : 16;
99
bb72c170
VAH
100//use 4.5 for 608, 2.5 for 624
101idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
102
8678276a
JG
103idler_width = (idler_bearing == 0) ? 9 : 5;
104
d3618a65
NZ
105// CHANGE ONLY THE STUFF YOU KNOW
106// IT WILL REPLACE DEFAULT SETTING
107
108// RODS
109
110// threaded_rod_diameter = 0;
111// threaded_rod_diameter_horizontal = 0;
112// smooth_bar_diameter = 0;
113// smooth_bar_diameter_horizontal = 0;
114
115// Nuts and bolts
116
117// m8_diameter = 0;
118// m8_nut_diameter = 0;
119
120// m4_diameter = 0;
121// m4_nut_diameter = 0;
122
123// m3_diameter = 0;
124// m3_nut_diameter = 0;
125
126// Bushing holder
127
128// bushing_core_diameter = smooth_bar_diameter;
129// bushing_material_thickness = 0;
130
d3618a65
NZ
131///counted stuff
132m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
133
2b2a47cc
VAH
134// Linear bearing options
135// With bit of play, it can be held by screw anyway.
136lm8uu_diameter=(bearing_type==1) ? 16 : 15;
137lm8uu_length=(bearing_type==1) ? 25.5 : 24.5;
138lm8uu_radius = lm8uu_diameter / 2 + 0.2;
139
07020dea
VAH
140// functions
141include <inc/functions.scad>
54e39c4a
TF
142
143
144// These constants define the geometry of the complete-printer.scad
145
146x_smooth_rod_length=325;
147y_smooth_rod_length=405;
148z_smooth_rod_length=235;
149bed_x_size=225;
150bed_y_size=225;