Rev Author Line No. Line
4910 kaklik 1 height = 1.5;
2  
3 module body() {
4 translate([2,2,0])
5 minkowski()
6 {
7 $fn=30;
8 color("Red") cube([110-4,55-4,height/2]);
9 cylinder(r=2,h=height/2);
10 }
11 }
12  
13 module bigFrame() {
14 color("Red") cube([53,18,10]);
15 }
16  
17 module smallFrame() {
18 color("Red") cube([18,14,10]);
19 }
20  
21 module hole() {
22 color("blue") cylinder($fn=10, h=10, r=1.6);
23 }
24  
25 module object(){
26 difference() {
27 body();
28 translate([10,17,-5]) bigFrame();
29 translate([77,10,-5]) smallFrame();
30 translate([4,4,-5]) hole();
31 translate([4,51,-5]) hole();
32 translate([106,4,-5]) hole();
33 translate([106,51,-5]) hole();
34 }
35 }
36  
37 object();