-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxcar3.scad
More file actions
95 lines (91 loc) · 1.36 KB
/
xcar3.scad
File metadata and controls
95 lines (91 loc) · 1.36 KB
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
$fn=50;
use<xcarriage.scad>;
module clip(){
include <clip.scad>;
}
module main(){
difference(){
union(){
translate([0,0,-1.5]){
cube([71,70,13],true);
}
translate([25,-20,10]){
cube([21,30,10 ],true);
}
translate([25,20,10]){
cube([21,30,10],true);
}
translate([-25,0,10]){
cube([21,30,10],true);
}
}
translate([-10.5,-45,0]){
cube(50,true);
}
translate([-10.5,45,0]){
cube(50,true);
}
}
}
module second(){
difference(){
minkowski(){
main();
cylinder(.01,1,1);
}
translate([25,-20,12.5]){
bearing();
}
translate([25,20,12.5]){
bearing();
}
translate([-25,0,12.5]){
bearing();
}
}
translate([10,0,12.5]){
rotate([0,0,90]){
clip();
}
translate([-.25,0,-9]){
cube([5.51,29.01,10.01],true);
}
}
translate([0,-21,-1.5]){
cylinder(13,12.5,12.5,true);
}
}
module final(){
difference(){
second();
translate([0,-21,-22.75]){
e3dlite();
}
translate([-10,-20,-1.5]){
rotate([90,0,0]){
cylinder(20,1.5,1.5,true);
}
}
translate([10,-20,-1.5]){
rotate([90,0,0]){
cylinder(20,1.5,1.5,true);
}
}
translate([-10,-34,-1.5]){
rotate([90,0,0]){
cylinder(20,2.5,2.5,true);
}
}
translate([10,-34,-1.5]){
rotate([90,0,0]){
cylinder(20,2.5,2.5,true);
}
}
}
}
difference(){
final();
translate([-11.5,-46,0]){
cube(50,true);
}
}