-
Notifications
You must be signed in to change notification settings - Fork 4
/
y-slider-better.scad
87 lines (69 loc) · 3.07 KB
/
y-slider-better.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
// PRUSA Mendel
// Y"carriage"
// Used for sliding on Y axis
// GNU GPL v2
// Josef Průša
// josefprusa@me.com
// prusadjs.cz
// http://www.reprap.org/wiki/Prusa_Mendel
// http://github.com/prusajr/PrusaMendel
// Stop moaning its not sturdy enough, 4 sliders and belts holders are connected together
// to ease up drilling holes to plate! This way they are always aligned properly.
// When you screw it to plate its sturdy as hell, ok?
include <configuration.scad>
difference(){
union(){
translate(v=[0,0,0.6]) cube(size=[100,100,1.2], center=true);
// bushings holder
translate(v=[40,45,11.5]) cube(size=[20,10,23], center=true);
translate(v=[40,50,23]) rotate([90,0,0]) cylinder(h=10, r=10);
translate(v=[-40,45,11.5]) cube(size=[20,10,23], center=true);
translate(v=[-40,50,23]) rotate([90,0,0]) cylinder(h=10, r=10);
translate(v=[40,-45,11.5]) cube(size=[20,10,23], center=true);
translate(v=[40,-40,23]) rotate([90,0,0]) cylinder(h=10, r=10);
translate(v=[-40,-45,11.5]) cube(size=[20,10,23], center=true);
translate(v=[-40,-40,23]) rotate([90,0,0]) cylinder(h=10, r=10);
//belt holders
translate(v=[0,-45,11.5]) cube(size=[22,10,23], center=true);
translate(v=[0,45,11.5]) cube(size=[22,10,23], center=true);
//holders for screws
translate(v=[25,45,7.5]) cube(size=[10,10,15], center=true);
translate(v=[-25,45,7.5]) cube(size=[10,10,15], center=true);
translate(v=[25,-45,7.5]) cube(size=[10,10,15], center=true);
translate(v=[-25,-45,7.5]) cube(size=[10,10,15], center=true);
}
// cutouts
// axes
translate(v=[40,60,23]) rotate([90,0,0]) cylinder(h=120, r=bushing_diameter/2, $fn=12);
translate(v=[-40,60,23]) rotate([90,0,0]) cylinder(h=120, r=bushing_diameter/2, $fn=12);
//screws
//belts
translate(v=[7,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[-7,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[7,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[-7,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
//frog
translate(v=[25,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[-25,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[25,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
translate(v=[-25,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
// main cutout
translate(v=[0,0,1]) cube(size=[80,80,4], center=true);
}
// cutouts
// axes
% translate(v=[40,60,23]) rotate([90,0,0]) cylinder(h=120, r=bushing_diameter/2, $fn=12);
% translate(v=[-40,60,23]) rotate([90,0,0]) cylinder(h=120, r=bushing_diameter/2, $fn=12);
//screws
//belts
%translate(v=[7,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[-7,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[7,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[-7,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
//frog
%translate(v=[25,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[-25,45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[25,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
%translate(v=[-25,-45,-1]) cylinder(h=30, r=m4_diameter/2, $fn=8);
// main cutout
% translate(v=[0,0,1]) cube(size=[80,80,4], center=true);