-
Notifications
You must be signed in to change notification settings - Fork 0
/
Clipper.scad
66 lines (58 loc) · 1.93 KB
/
Clipper.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
//
//
// |<--a--->|<-d->|
// -- -------------- --------------
// /\ | | | |
// b | | | |
// \/ | | | |
// -- | ----- ----- |
// /\ | | | |
// e | | | |
// \/ | |<–––––––––––––––––f–––––––––––––––––>| |
// -- | ------------------------------------- |
// /\ | |
// c | |
// \/ | |
// -- -------------------------------------------------------
//
a = 0.508;
b = 0.508;
c = 0.508;
d = 1;
e = 2+c;
f = 20;
g=10;
r=0.5;
cut = c;
distance = 4;
h=c;
module example002()
{
union() {
difference() {
union() {
translate([0, -c/2, 0])
cube([g, c, f+2*a], center = true);
translate([0, -(e+b+c)/2, -(f+a)/2])
cube([g, e+c+b, a], center = true);
translate([0, -(e+b+c)/2, +(f+a)/2])
cube([g, e+c+b, a], center = true);
translate([0, -(e+c+b/2), +((f+a)/2+a-d)])
cube([g, b, a+d], center = true);
translate([0, -(e+c+b/2), -((f+a)/2+a-d)])
cube([g, b, a+d], center = true);
}
translate([g/6+cut/3, 0, 0])
cube([cut, 2*c, f-2*d], center = true);
translate([-(g/6+cut/3), 0, 0])
cube([cut, 2*c, f-2*d], center = true);
}
translate([-(g/3+cut/3), -(c/2+h), -f/3])
cube([(g-6*cut)/3, c, f/6], center = true);
translate([g/3+cut/3, -(c/2+h), f/3])
cube([(g-6*cut)/3, c, f/6], center = true);
translate([0, -(c/2+h), 0])
cube([(g-6*cut)/3, c, f/6], center = true);
}
}
example002();