fixed dimensions. prints/assembles easier
[clinton/prusa3.git] / configuration.scad.dist
... / ...
CommitLineData
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
15include <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
22belt_tooth_distance = 2.5;
23belt_tooth_ratio = 0.5;
24
25//T5 (strongly discouraged)
26//belt_tooth_distance = 5;
27//belt_tooth_ratio = 0.75;
28
29//HTD3
30//belt_tooth_distance = 3;
31//belt_tooth_ratio = 0.75;
32
33//MXL
34//belt_tooth_distance = 2.032;
35//belt_tooth_ratio = 0.64;
36
37// Choose bearing/bushing configuration ***************************************
38
39//Choose from:
40
41// 0 = Z as lm[e]8uu, X and Y bushings
42// 1 = all bushings
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.
45
46bearing_choice = 2;
47
48// Bushing version
49// 0 = square igus housings. By igus we mean JFM-0810-10 or GFM-0810-10
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
57bearing_type = 0;
58
59// Select idler bearing size **************************************************
60
61// 0 = 608 [standard skate bearings]
62// 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
63
64idler_bearing = 0;
65
66// Thickness of the XZ plate board
67board_thickness = 16;
68
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
75// You are not supposed to change this
76board_to_xz_distance = 26;
77xaxis_rod_distance = 45;
78carriage_l = 74;
79carriage_hole_to_side = 5;
80carriage_hole_height = 4;
81
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
89idler_width = (idler_bearing == 0) ? 9 : 5;
90
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
117///counted stuff
118m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
119
120// functions
121include <inc/functions.scad>
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;