forked from revarbat/snappy-reprap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.scad
139 lines (109 loc) · 4.28 KB
/
config.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
snappy_version = 1.0;
// 0 = Thinning Walls (Thin in the middle, thick at edges. Prettier smooth solid walls.)
// 1 = Corrugated closed walls. (Zig-zagged solid walls. Less shrinkage stress.)
// 2 = Crossbeam walls. (Open sparse struts. Far less shrinkage stress. Recommended.)
wall_styling = 0;
platform_length = 100.0; // mm. Must be a multiple of rack_tooth_size.
platform_width = 150.0; // mm
platform_height = 40.0; // mm
platform_thick = 7.0; // mm
rail_length = 133.3; // mm
rail_height = 50.0; // mm
rail_thick = 7.0; // mm
rail_offset = 12.0; // mm
motor_rail_length = 133.3; // mm
groove_angle = 30; // degrees
groove_height = 12; // mm
joiner_angle = 30; // degrees
joiner_width = 10; // mm
rack_tooth_size = 5; // mm per tooth.
rack_height = 10; // mm
rack_base = 2; // mm
gear_base = 10; // mm
gear_teeth = 8;
set_screw_size = 3; // mm size of set screw in drive gears, couplers, etc
motor_length = 39.25; // mm length of NEMA17 motor.
motor_shaft_size = 5; // mm diameter of NEMA17 motor shaft.
motor_shaft_length = 20; // mm length of NEMA17 motor shaft.
motor_shaft_flatted = true; // Is motor shaft keyed? (RECOMMENDED)
// Currently configured for 3/8" ACME threaded rod.
lifter_rod_diam = 9.5; // mm
lifter_rod_length = 300.0; // mm
lifter_rod_pitch = 3.175; // mm lift per revolution
// Mechanical endstop bare microswitch.
endstop_hole_spacing = 9.5; // mm
endstop_hole_inset = 8.0; // mm
endstop_hole_hoff = 10.0; // mm
endstop_click_voff = 3.0; // mm
endstop_screw_size = 2.5; // mm
endstop_standoff = 1.0; // mm
endstop_length = 19.9; // mm
endstop_thick = 6.7; // mm
endstop_depth = 11.0; // mm
// Standard Mk2b Heated Build Platform from RepRapDiscount.com
hbp_width = 215; // mm
hbp_length = 215; // mm
hbp_hole_width = 208.5; // mm
hbp_hole_length = 208.5; // mm
hbp_screwsize = 3; // mm
// Standard 200mm square borosilicate glass build platform
glass_width = 214; // mm
glass_length = 200; // mm
glass_thick = 3; // mm
// Cable chain dimensions
cable_chain_height = 13; // mm
cable_chain_width = 25; // mm
cable_chain_length = 26; // mm
cable_chain_pivot = 6; // mm
cable_chain_bump = 1; // mm
cable_chain_wall = 3; // mm
spool_holder_length = 140.0; // mm
jhead_vent_span = 20.0; // mm
jhead_barrel_diam = 16.0; // mm
jhead_shelf_thick = 4.8; // mm
jhead_groove_thick = 4.6; // mm
jhead_groove_diam = 12.0; // mm
jhead_cap_height = 8.2; // mm
jhead_cap_diam = 12.0; // mm
extruder_length = 133.3; // mm
extruder_thick = 5.0; // mm
extruder_shaft_len = 25.0; // mm
extruder_drive_diam = 12.5; // mm
/*
// 626 bearing
extruder_idler_diam = 19.0; // mm
extruder_idler_axle = 6.0; // mm
extruder_idler_width = 6.0; // mm
*/
/*
// SAE bearing 5/8"OD x 1/4"ID x 1/5"W
extruder_idler_diam = 15.9; // mm
extruder_idler_axle = 6.3; // mm
extruder_idler_width = 5.0; // mm
*/
// 686 bearing
extruder_idler_diam = 13.0; // mm
extruder_idler_axle = 6.0; // mm
extruder_idler_width = 5.0; // mm
extruder_fan_size = 40.0; // mm
extruder_fan_thick = 10.0; // mm
cooling_fan_size = 40.0; // mm
cooling_fan_thick = 10.0; // mm
cooling_duct_height = 15.0; // mm
filament_diam = 1.75; // mm
// This is the slop needed to make parts fit more exactly, and might be
// printer dependant. Printing a slop calibration plate should help
// dial this setting in for your printer.
printer_slop = 0.25; // mm
gear_backlash = printer_slop/2;
// Commonly used derived values. Don't change these.
rail_spacing = platform_width - joiner_width*4 - 10;
rail_width = rail_spacing + joiner_width*2;
motor_mount_spacing=43+joiner_width+10;
side_mount_spacing = motor_rail_length-10*2;
platform_z = rail_height+groove_height+rail_offset;
cantilever_length = (motor_rail_length+2*platform_length-2*rail_height-extruder_length-groove_height)/2;
motor_top_z = platform_z-platform_thick-rack_base-rack_height-gear_base-2;
wall_styles = ["thinwall", "corrugated", "crossbeams"];
wall_style = wall_styles[wall_styling];
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap