-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.scad
More file actions
44 lines (44 loc) · 1.53 KB
/
example.scad
File metadata and controls
44 lines (44 loc) · 1.53 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
difference () {
union () {
translate ([0.000, 0.000, 0.000]) {
union () {
cube (size = [ 10.000, 10.000, 10.000], center = true);
translate ([0.000, 0.000, 5.000]) {
sphere (r = 5.000);
}
}
}
translate ([15.000, 0.000, 0.000]) {
union () {
cube (size = [ 10.000, 10.000, 10.000], center = true);
translate ([0.000, 0.000, 5.000]) {
sphere (r = 5.000);
}
}
}
translate ([30.000, 0.000, 0.000]) {
union () {
cube (size = [ 10.000, 10.000, 10.000], center = true);
translate ([0.000, 0.000, 5.000]) {
sphere (r = 5.000);
}
}
}
translate ([45.000, 0.000, 0.000]) {
cube(2);
}
translate ([0.000, -25.000, 0.000]) {
polyhedron (points = [[10.000, 10.000, 0.000],[10.000, -10.000, 0.000],[-10.000, -10.000, 0.000],[-10.000, 10.000, 0.000],[0.000, 0.000, 10.000]], faces = [[0,1,4],[1,2,4],[2,3,4],[3,0,4],[1,0,3],[2,1,3]], convexity = 1);
}
translate ([20.000, -25.000, 0.000]) {
linear_extrude (height = 10.000, center = true, convexity = 10.000, twist = 0.000, slices = 20, scale = 1.000) {
polygon (points = [[0.000, 3.000],[2.598, 1.500],[2.598, -1.500],[0.000, -3.000],[-2.598, -1.500],[-2.598, 1.500]]);
}
}
}
linear_extrude (height = 30.000, center = true, convexity = 10.000, twist = 0.000, slices = 20, scale = 1.000) {
projection (cut = false) {
cylinder(h = 1.000, r1 = 2.000, r2 = 2.000, center = true, $fn = 20.000);
}
}
}