blob: 56f6d778c0ea127dcf8562fe96d6276172ce621c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// All dimensions are assumed to be given in millimeters
major_width = 7;
// major_height = 1;
major_height = 8;
minor_width = 5;
minor_height = 4;
for (i=[0:0]) {
union() {
translate(v=[10*i, 0, minor_height / 2]) {
cube([minor_width, minor_width, minor_height], center=true);
}
translate(v=[10*i, 0, - major_height / 2]) {
cube([major_width, major_width, major_height], center=true);
}
}
}
|