lc = 0.1;
Point(1) = {0,0,0,lc};
Point(2) = {1,0,0,lc};
Point(3) = {1,1,0,lc};
Point(4) = {0,1,0,lc};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(5) = {3,4,1,2};
Plane Surface(6) = {5};
Extrude Line {3, {0.0,0.0,0.5}};
Extrude Line {2, {0.0,0.0,0.5}};
Extrude Line {1, {0.0,0.0,0.5}};
Extrude Line {4, {0.0,0.0,0.5}};
Point(9) = {0.5,0.5,0.5,lc};
Point(10) = {0.75,0.5,0.5,lc};
Point(11) = {0.5,0.75,0.5,lc};
Circle(25) = {10,9,11};
Symmetry { 1.0,0.0,0.0,-0.5 } {
  Duplicata { Line{25}; }
}
Extrude Line {25, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {26, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {30, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {25, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {25, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {27, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {36, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {33, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {39, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {42, {1,0,0.0}, {0.0,0.5,0.5}, Pi/2};
Extrude Line {19, {0.0,0.0,0.5}};
Extrude Line {7, {0.0,0.0,0.5}};
Extrude Line {11, {0.0,0.0,0.5}};
Extrude Line {15, {0.0,0.0,0.5}};
Line Loop(67) = {51,63,59,55};
Plane Surface(68) = {67};
Line Loop(69) = {15,11,7,19};
Line Loop(70) = {33,-36,25,-26};
Plane Surface(71) = {69,70};
Surface Loop(72) = {22,-6,10,71,18,14,50,44,-41,-47};
Volume(73) = {72};
Surface Loop(74) = {35,32,50,44,-41,-38,-29,-47};
Volume(75) = {74};
Surface Loop(76) = {54,-71,66,62,58,68,-50,-44,41,47};
Surface Loop(77) = {38,29,71,-66,-62,-58,-54,-68,-32,-35};
Volume(78) = {77};
Physical Surface(1) = {22,54};
Physical Surface(2) = {14,62};
Physical Surface(3) = {18,66};
Physical Surface(4) = {58,10};
Physical Surface(5) = {6};
Physical Surface(6) = {68};
Physical Surface(7) = {35,32,44,50,47,29,38,41};
Physical Volume(1) = {73,78};
Physical Volume(2) = {75};
