regenerate sample stls
[clinton/prusa3.git] / box_frame / sample_stls / big_htd3_lm12luu / configuration.scad
CommitLineData
099c45e6
VAH
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
9include <inc/metric.scad>;
10include <inc/conf_bushing.scad>;
11
12// Custom settings here, tailor to your supplies and print settings
13
77f399ba
VAH
14
15// Extruder settings **********************************************************
16// Don't forget to set your slicer's extruder settings to match the values you
17// enter here.
18
099c45e6 19layer_height = 0.3;
77f399ba
VAH
20// Width over thickness determines how wide the plastic will be when extruded
21// onto the object that is being printed. width_over_thickness is multiplied
22// by the layer_height to calculate this width. i.e. If your layer_height is
23// set to 0.3 mm and your width_over_thickness is set to 2.2, the resulting
24// width will be 0.66 mm.
099c45e6
VAH
25width_over_thickness = 2.2;
26
27// Select your belt type ******************************************************
28
29//T2.5
30//belt_tooth_distance = 2.5;
31//belt_tooth_ratio = 0.75;
32
33//T5 (strongly discouraged)
34//belt_tooth_distance = 5;
35//belt_tooth_ratio = 0.75;
36
37//HTD3
38belt_tooth_distance = 3;
39belt_tooth_ratio = 0.75;
40
41//MXL
42//belt_tooth_distance = 2.032;
43//belt_tooth_ratio = 0.64;
44
45//GT2 there is bunch of GT2 belts with different tooth-to-tooth distance
46//adjust to your needs
47//belt_tooth_distance = 2;
48//belt_tooth_ratio = 0.5;
49
50// For T type belts you will probably want 0.8mm or so.
51belt_thickness = 1.75;
52
53// Choose bearing/bushing configuration ***************************************
54// conf_b_* are in inc/conf_bushing.scad
55
56bushing_xy = conf_b_lm12luu;
57bushing_z = conf_b_lm12luu;
58// for longer bearings use one shorter in x-carriage to make place for belt attachment
59// by default use same as xy
60bushing_carriage = conf_b_lm12uu;
61
62// Select idler bearing size **************************************************
63// [outer_diameter, width, inner_diameter, uses_guide]
64// 608 [standard skate bearings] with bearing guide
65bearing_608 = [22, 7, 8, 1];
77f399ba 66// 608 bearings with fender washers. Not good at all, the belt brushes against the carriage
099c45e6
VAH
67bearing_608_washers = [22, 10, 8, 0];
68// one 625 with guides
69bearing_625 = [16, 5, 5, 1];
70// two 625 - for use without bearing guides.
71bearing_625_double = [16, 10, 5, 0];
72
73// those two here are really good:
82bba690 74bearing_624_double = [13, 10, 4, 0];
099c45e6
VAH
75// this one has roughly same diameter as pulley, makes belt parallel so its prettier
76bearing_623_double = [10, 8, 3, 0];
77
78idler_bearing = bearing_624_double;
79
77f399ba 80// Select carriage lenght ******************************************************
099c45e6
VAH
81// 30 for single carriage extruder (two holes with centers 30mm apart)
82// 50 for wade or single with fan (three holes, 30-20)
83// 80 for full length carriage (four holes, 30-20-30)
84
85carriage_l_base = 80;
86
87// Fillets ********************************************************************
583dee57
VAH
88// fillets are rounded corners of boxes. The right engineering term is probably radius
89// but cad software calls it fillet.
099c45e6
VAH
90// mostly cosmetic, except z axis.
91// 0 = no fillets
92// 1 = fillet
583dee57
VAH
93// 2 = chamfer (cut the edges at 45deg. angle)
94// Please do put only parts with fillets on sale, other options are not really tested
099c45e6
VAH
95
96use_fillets = 1;
97
77f399ba 98// set to 0 for single plate (affects z axis and screws that attach RP parts to frame)
099c45e6
VAH
99i_am_box = 1;
100
77f399ba
VAH
101// if you do your own plate and can move bottom Z screws 5mm up set this to 0 to
102// get stronger motor mount. Only for i_am_box = 0
099c45e6
VAH
103i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1;
104
77f399ba
VAH
105
106// Radius of long threaded rod on Y frame
107
108// Affects y-axis-corner (both box and single plate)
109// and y-axis-bracket (box only)
110
099c45e6
VAH
111//Use 5.4 for M10 or 4.4 for M8
112y_threaded_rod_long_r = 5.4;
113
77f399ba
VAH
114
115// Thickness of the boards that make the box frame.
116
117// in y-axis-corner it governs the height of the corners by adjusting the
118// distance between ground and M10 threaded rod. (both box and single plate)
119
120// For box model, the parts that hold Z smooth rod have one hole from front
121// and one from side, and this setting makes sure that the screw from side
122// is in the center of the plank.
123
124// Use 12 for single plate
125// or 20 if you want to use the Y lm8uu holders
126// (extras/bearing-holder-single-plate-y)
099c45e6
VAH
127board_thickness = 18;
128
77f399ba 129// Segments of small holes. some poeple claim that a low value makes them easier to print.
82bba690
VAH
130small_hole_segments=7;
131
77f399ba
VAH
132
133// END of custom settings *****************************************************
099c45e6
VAH
134
135
136// You are not supposed to change this
137board_to_xz_distance = 26;
138xaxis_rod_distance = 45;
139
140//calculated from settings
141single_wall_width = width_over_thickness * layer_height;
142
143idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2.5 * idler_bearing[3] ;
144
145//deltas are used to enlarge parts for bigger bearings
146xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9;
147z_delta = (bushing_z[1] <= 7.7) ? 0 : bushing_z[1] - 7.7;
148
149// CHANGE ONLY THE STUFF YOU KNOW
150// IT WILL REPLACE DEFAULT SETTING
151
152// RODS
153
154// threaded_rod_diameter = 0;
155// threaded_rod_diameter_horizontal = 0;
156// smooth_bar_diameter = 0;
157// smooth_bar_diameter_horizontal = 0;
158
159// Nuts and bolts
160
161// m8_diameter = 0;
162// m8_nut_diameter = 0;
163
164// m4_diameter = 0;
165// m4_nut_diameter = 0;
166
167// m3_diameter = 0;
168// m3_nut_diameter = 0;
169
170// Bushing holder
171
172// bushing_core_diameter = smooth_bar_diameter;
173// bushing_material_thickness = 0;
174
175///counted stuff
176m3_nut_diameter_bigger = ((m3_nut_diameter / 2) / cos (180 / 6))*2;
177
178// functions
179include <inc/functions.scad>
180
181// These constants define the geometry of the complete-printer.scad
182
183//x_smooth_rod_length=325;
184//y_smooth_rod_length=405;
185//z_smooth_rod_length=235;
186bed_x_size=225;
187bed_y_size=225;
188
189x_smooth_rod_length=460+board_thickness*2; // 492 for 16mm thickness; 484 for 12mm thickness
190y_smooth_rod_length=470;
191z_smooth_rod_length=405;