-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathXYCarriage.scad
59 lines (56 loc) · 1.06 KB
/
XYCarriage.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
include <Parameters.scad>;
use <GantryEnd2.scad>;
genBottom = true;
genMiddle = true;
genTop = true;
genHighMiddle = true;
union() {
if (genBottom) {
union(){
translate([30, 0, 40]) {
rotate([0, 180, 0]) {
highTop();
}
}
difference() {
translate([0, 30, 0]) {
cube ([30, 20, 5]);
}
translate([6.5, 33, -5]){
cylinder(d=4, h=15);
}
translate([23.5, 33, -5]){
cylinder(d=4, h=15);
}
translate([15, 45, -5]){
cylinder(d=4, h=15);
}
translate([6, 42, -5]){
cylinder(r=4, h=15);
}
translate([24, 42, -5]){
cylinder(r=4, h=15);
}
}
}
}
if (genMiddle) {
translate([0, 0, - 20]) {
highTop();
}
}
if (genHighMiddle){
translate([30, 30, 40 + XYSpacing]) {
rotate([0, 180, 90]) {
highTop();
}
}
}
if (genTop) {
translate([30, 0, XYSpacing - 20]) {
rotate([0, 0, 90]) {
highTop();
}
}
}
}