fixed dimensions. prints/assembles easier
[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
bb72c170 41// 0 = Z as lm[e]8uu, X and Y bushings
8a211b82 42// 1 = all bushings
bb72c170
VAH
43// 2 = all bearings [default. Do not change unless you really know what you are doing]
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
bb72c170 49// 0 = square igus housings. By igus we mean JFM-0810-10 or GFM-0810-10
8a211b82
VAH
50// 1 = round igus (works better if printed precisely)
51// 2 = bronze self-aligning bushings
52bushing_type = 0;
53
54//Bearing version
55// 0 = default lm8uu
56// 1 = lme8uu
c92ac46d 57bearing_type = 0;
8a211b82
VAH
58
59// Select idler bearing size **************************************************
d3618a65 60
bb72c170
VAH
61// 0 = 608 [standard skate bearings]
62// 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
8dedb756 63
bb72c170 64idler_bearing = 0;
8a211b82
VAH
65
66// Thickness of the XZ plate board
8dedb756 67board_thickness = 16;
8dedb756 68
8a211b82
VAH
69//Layer height * width over thickness. Used for idler sleeve
70single_wall_width = 0.3*2.2;
71
72// END of custom settings
73
74
8a211b82
VAH
75// You are not supposed to change this
76board_to_xz_distance = 26;
a97a50ea 77xaxis_rod_distance = 45;
ff44e5ab
VAH
78carriage_l = 74;
79carriage_hole_to_side = 5;
80carriage_hole_height = 4;
d3618a65 81
bb72c170
VAH
82//calculated from settings
83
84idler_size = (idler_bearing == 0) ? 22 : 13;
85
86//use 4.5 for 608, 2.5 for 624
87idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
88
8678276a
JG
89idler_width = (idler_bearing == 0) ? 9 : 5;
90
d3618a65
NZ
91// CHANGE ONLY THE STUFF YOU KNOW
92// IT WILL REPLACE DEFAULT SETTING
93
94// RODS
95
96// threaded_rod_diameter = 0;
97// threaded_rod_diameter_horizontal = 0;
98// smooth_bar_diameter = 0;
99// smooth_bar_diameter_horizontal = 0;
100
101// Nuts and bolts
102
103// m8_diameter = 0;
104// m8_nut_diameter = 0;
105
106// m4_diameter = 0;
107// m4_nut_diameter = 0;
108
109// m3_diameter = 0;
110// m3_nut_diameter = 0;
111
112// Bushing holder
113
114// bushing_core_diameter = smooth_bar_diameter;
115// bushing_material_thickness = 0;
116
d3618a65
NZ
117///counted stuff
118m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
119
07020dea
VAH
120// functions
121include <inc/functions.scad>
54e39c4a
TF
122
123
124// These constants define the geometry of the complete-printer.scad
125
126x_smooth_rod_length=325;
127y_smooth_rod_length=405;
128z_smooth_rod_length=235;
129bed_x_size=225;
130bed_y_size=225;