-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzCarriage2.scad
95 lines (85 loc) · 2.22 KB
/
zCarriage2.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
include <Parameters.scad>;
use <GantryEnd2.scad>;
use <nutTrap.scad>;
module frontHalf(){
for (y = [0, ZSupportSpacing]){
r = 0;
translate([r / 180 * (ZSupportSpacing + 10), y + r / 6, 30]){
rotate([r, 90, 0]){
highTop();
}
}
}
}
module backHalf(){
for (y = [0, ZSupportSpacing]){
r = 180;
translate([r / 180 * (ZSupportSpacing + 10), y + r / 6, 30]){
rotate([r, 90, 0]){
highTop();
}
}
}
}
module support(){
for (y = [15, 15 + ZSupportSpacing]){
translate([10, y, 0,]){
difference(){
hull(){
translate([platformLength / 3, 0, 30 - 3 * screwHoleDiam]){
cylinder(d = screwHoleDiam + 4, h = 3 * screwHoleDiam);
}
translate([0,0,30 - 4 * screwHoleDiam]){
cylinder(d = bracketThickness, h = 4 * screwHoleDiam);
}
}
translate([platformLength / 3, 0, 29 - 3 * screwHoleDiam]){
NutTrap();
}
}
}
}
}
module movingSide(){
union(){
translate([- 30, 0, 0]){
frontHalf();
}
difference(){
translate([0, ZSupportSpacing / 2 + 5, 0]){
cube([10, ZSupportSpacing - 30, 30]);
}
for (z = [-.1 , 27.61]){
translate([5, ZSupportSpacing / 2 + 15, z]){
NutTrap();
}
}
}
support();
}
}
module otherSide(){
union(){
translate([- 30, 0, 0]){
frontHalf();
}
translate([0, ZSupportSpacing / 2 + 5, 0]){
cube([10, ZSupportSpacing - 30, 30]);
}
support();
}
}
module clampHalf(){
union(){
translate([- 30, 0, 0]){
frontHalf();
}
translate([0, ZSupportSpacing / 2 + 5, 0]){
cube([10, ZSupportSpacing - 30, 30]);
}
}
}
movingSide();
rotate([0,0,180]){
otherSide();
}