s1=0.03;
Cx= 10;Cy= 0;
R1=1;R2=2;

Point (1) = { Cx, Cy, 0.,s1};
Point (2) = { Cx + R1, Cy, 0.,s1};
Point (3) = { Cx, Cy + R1, 0.,s1};
Point (4) = { Cx - R1, Cy, 0.,s1};
Point (5) = { Cx, Cy - R1, 0.,s1};
Point (6) = { Cx + R2, Cy, 0.,s1};
Point (7) = { Cx, Cy + R2, 0.,s1};
Point (8) = { Cx - R2, Cy, 0.,s1};
Point (9) = { Cx, Cy - R2, 0.,s1};

Circle(1) = {2,1,3};
Circle(2) = {3,1,4};
Circle(3) = {4,1,5};
Circle(4) = {5,1,2};
Circle(5) = {6,1,7};
Circle(6) = {7,1,8};
Circle(7) = {8,1,9};
Circle(8) = {9,1,6};

Line Loop(10) = {1,2,3,4};		//ext circ
Line Loop(20) = {5,6,7,8};		//int circ
Plane Surface(30) = {10,20};
Plane Surface(40) = {20};

 ext1[] = Extrude {{0,1.5,-1}, {0,1,0}, {0,0,0}, Pi/2} {
	Surface{30,40};
	Layers{10}; Recombine; 
};
 ext2[] = Extrude {{-1,1.5,0}, {0,1,0}, {0,0,0}, Pi/2} {
	Surface{ext1[0],ext1[10]};
	Layers{10}; Recombine; 
};
 ext3[] = Extrude {{0,1.5,1}, {0,1,0}, {0,0,0}, Pi/2} {
	Surface{ext2[0],ext2[10]};
	Layers{10}; Recombine; 
};
 ext4[] = Extrude {{1,1.5,0}, {0,1,0}, {0,0,0}, Pi/2} {
	Surface{ext3[0],ext3[10]};
	Layers{10}; Recombine; 
};
