z-axis: support position delta and improve rod support
[clinton/prusa3.git] / box_frame / 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 6// http://www.reprap.org/wiki/Prusa_Mendel
8e93419f 7// http://github.com/josefprusa/Prusa3
d3618a65 8
07020dea 9include <inc/metric.scad>;
0205afdc 10include <inc/conf_bushing.scad>;
d3618a65 11
8a211b82 12// Custom settings here, tailor to your supplies and print settings
d3618a65 13
77e2912a 14// Extruder settings **********************************************************
15// Don't forget to set your slicer's extruder settings to match the values you
16// enter here.
17
0205afdc 18layer_height = 0.3;
77e2912a 19// Width over thickness determines how wide the plastic will be when extruded
20// onto the object that is being printed. width_over_thickness is multiplied
21// by the layer_height to calculate this width. i.e. If your layer_height is
22// set to 0.3 mm and your width_over_thickness is set to 2.2, the resulting
23// width will be 0.66 mm.
0205afdc
VAH
24width_over_thickness = 2.2;
25
8a211b82 26// Select your belt type ******************************************************
d3618a65 27
77e2912a 28// T2.5
815fe4ec
VAH
29//belt_width = 6.5; //add 0.5 to actual width
30//belt_tooth_distance = 2.5;
31//belt_tooth_ratio = 0.75;
32//belt_thickness = 0.8;
8a211b82 33
77e2912a 34// T5 (strongly discouraged)
815fe4ec
VAH
35//belt_width = 6.5;
36//belt_tooth_distance = 5;
37//belt_tooth_ratio = 0.75;
38//belt_thickness = 0.8;
8a211b82 39
77e2912a 40// HTD3
815fe4ec
VAH
41//belt_width = 9.5;
42//belt_tooth_distance = 3;
43//belt_tooth_ratio = 0.75;
44//belt_thickness = 1.75;
8a211b82 45
77e2912a 46// MXL
815fe4ec
VAH
47//belt_width = 6.5;
48//belt_tooth_distance = 2.032;
49//belt_tooth_ratio = 0.64;
50//belt_thickness = i have no idea;
51
52// GT2
53// there is bunch of GT2 belts with different tooth-to-tooth distance
54// this one is most common in reprap world
55// adjust to your needs.
56belt_width = 6.5;
57belt_tooth_distance = 2;
58belt_tooth_ratio = 0.5;
59belt_thickness = 0.8;
77e2912a 60
8a211b82 61// Choose bearing/bushing configuration ***************************************
0205afdc
VAH
62// conf_b_* are in inc/conf_bushing.scad
63
64bushing_xy = conf_b_lm8uu;
65bushing_z = conf_b_lm8uu;
ad345632
VAH
66// for longer bearings use one shorter in x-carriage to make place for belt attachment
67// by default use same as xy
68bushing_carriage = bushing_xy;
0205afdc 69
77e2912a 70
8a211b82 71// Select idler bearing size **************************************************
815fe4ec 72// bearing_* are in inc/conf_bushing.scad
0f6ec51a 73
815fe4ec 74idler_bearing = bearing_623;
8a211b82 75
77e2912a 76// Select carriage lenght ******************************************************
0f6ec51a
VAH
77// 30 for single carriage extruder (two holes with centers 30mm apart)
78// 50 for wade or single with fan (three holes, 30-20)
79// 80 for full length carriage (four holes, 30-20-30)
80
81carriage_l_base = 50;
82
77e2912a 83
c6265fc0 84// Fillets ********************************************************************
4edfdf22
VAH
85// fillets are rounded corners of boxes. The right engineering term is probably radius
86// but cad software calls it fillet.
88fc28e9 87// mostly cosmetic, except z axis.
690004c7 88// 0 = no fillets
c6265fc0 89// 1 = fillet
4edfdf22
VAH
90// 2 = chamfer (cut the edges at 45deg. angle)
91// Please do put only parts with fillets on sale, other options are not really tested
c6265fc0 92
0205afdc 93use_fillets = 1;
c6265fc0 94
c42fa5ac
CE
95// set to type of frame used (affects z axis and screws that attach RP parts to frame)
96frame_type = frame_single;
db5e5ac1 97
77e2912a 98// if you do your own plate and can move bottom Z screws 5mm up set this to 0 to
99// get stronger motor mount. Only for i_am_box = 0
54a84af0 100i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1;
fdc7f8d6 101
59ab46d1
VAH
102
103// Radius of long threaded rod on Y frame
104
105// Affects y-axis-corner (both box and single plate)
106// and y-axis-bracket (box only)
107
fe687d90 108//Use 5.4 for M10 or 4.4 for M8
fe687d90
VAH
109y_threaded_rod_long_r = 5.4;
110
59ab46d1
VAH
111
112// Thickness of the boards that make the box frame.
113
114// in y-axis-corner it governs the height of the corners by adjusting the
115// distance between ground and M10 threaded rod. (both box and single plate)
116
117// For box model, the parts that hold Z smooth rod have one hole from front
118// and one from side, and this setting makes sure that the screw from side
119// is in the center of the plank.
120
121// Use 12 for single plate
815fe4ec 122// or 20 if you want to use the Y lm8uu holders
59ab46d1 123// (extras/bearing-holder-single-plate-y)
c42fa5ac 124// For an aluminum extrusion frame, set this to your extrusion diameter
a4e27e20 125board_thickness = 12;
8dedb756 126
77e2912a 127// Segments of small holes. some poeple claim that a low value makes them easier to print.
1f623fc7
JG
128small_hole_segments=7;
129
07020dea 130// functions
815fe4ec
VAH
131include <inc/functions.scad>;
132include <inc/settings.scad>;
54e39c4a 133
815fe4ec 134// These constants define the geometry of the doc/complete-printer.scad
28159e2f
DR
135bed_x_size=225;
136bed_y_size=225;
815fe4ec
VAH
137x_smooth_rod_length=380+board_thickness*2;
138y_smooth_rod_length=400;
139z_smooth_rod_length=320;
846248f3
CE
140
141// shift smooth rod and leadscrew
142zaxis_delta_x = 0;
143zaxis_delta_y = 0;