c1 = 0.2;
l1 = 0.2;
l2 = 0.3;


Point(newp) = {l1, l1, -(l2-l1)/2, c1};
Point(newp) = {-l1, l1, -(l2-l1)/2, c1};
Point(newp) = {-l1, -l1, -(l2-l1)/2, c1};
Point(newp) = {l1, -l1, -(l2-l1)/2, c1};
Point(newp) = {l1, l1, (l2-l1)/2, c1};
Point(newp) = {-l1, l1, (l2-l1)/2, c1};
Point(newp) = {-l1, -l1, (l2-l1)/2, c1};
Point(newp) = {l1, -l1, (l2-l1)/2, c1};

Point(newp) = {l2, l2, -(l2-l1)/2, c1};
Point(newp) = {-l2, l2, -(l2-l1)/2, c1};
Point(newp) = {-l2, -l2, -(l2-l1)/2, c1};
Point(newp) = {l2, -l2, -(l2-l1)/2, c1};
Point(newp) = {l2, l2, (l2-l1)/2, c1};
Point(newp) = {-l2, l2, (l2-l1)/2, c1};
Point(newp) = {-l2, -l2, (l2-l1)/2, c1};
Point(newp) = {l2, -l2, (l2-l1)/2, c1};


Line(1) = {1, 9};
Line(2) = {9, 13};
Line(3) = {13, 5};
Line(4) = {5, 1};
Line(5) = {5, 6};
Line(6) = {1, 2};
Line(7) = {9, 10};
Line(8) = {13, 14};
Line(9) = {6, 14};
Line(10) = {14, 10};
Line(11) = {10, 2};
Line(12) = {2, 6};
Line(13) = {2, 3};
Line(14) = {6, 7};
Line(15) = {14, 15};
Line(16) = {10, 11};
Line(17) = {11, 3};
Line(18) = {3, 7};
Line(19) = {7, 15};
Line(20) = {15, 11};
Line(21) = {3, 4};
Line(22) = {7, 8};
Line(23) = {15, 16};
Line(24) = {11, 12};
Line(25) = {4, 12};
Line(26) = {12, 16};
Line(27) = {16, 8};
Line(28) = {8, 4};
Line(29) = {12, 9};
Line(30) = {16, 13};
Line(31) = {4, 1};
Line(32) = {8, 5};


Line Loop(45) = {1, 2, 3, 4};
Plane Surface(46) = {45};
Line Loop(47) = {12, 9, 10, 11};
Plane Surface(48) = {47};
Line Loop(49) = {19, 20, 17, 18};
Plane Surface(50) = {49};
Line Loop(51) = {28, 25, 26, 27};
Plane Surface(52) = {51};
Line Loop(53) = {-3, -30, 27, 32};
Plane Surface(54) = {53};
Line Loop(55) = {-30, -26, 29, 2};
Plane Surface(56) = {55};
Line Loop(57) = {29, -1, -31, 25};
Plane Surface(58) = {57};
Line Loop(59) = {31, -4, -32, 28};
Plane Surface(60) = {59};
Line Loop(61) = {9, -8, 3, 5};
Plane Surface(62) = {61};
Line Loop(63) = {-7, 2, 8, 10};
Plane Surface(64) = {63};
Line Loop(65) = {11, -6, 1, 7};
Plane Surface(66) = {65};
Line Loop(67) = {-5, 4, 6, 12};
Plane Surface(68) = {67};
Line Loop(69) = {13, -17, -16, 11};
Plane Surface(70) = {69};
Line Loop(71) = {-18, -13, 12, 14};
Plane Surface(72) = {71};
Line Loop(73) = {19, -15, -9, 14};
Plane Surface(74) = {73};
Line Loop(75) = {-20, -15, 10, 16};
Plane Surface(76) = {75};
Line Loop(77) = {-23, 20, 24, 26};
Plane Surface(78) = {77};
Line Loop(79) = {-24, 17, 21, 25};
Plane Surface(80) = {79};
Line Loop(81) = {22, 28, -21, 18};
Plane Surface(82) = {81};
Line Loop(83) = {-22, 19, 23, 27};
Plane Surface(84) = {83};


Surface Loop(100) = {52, 60, 58, 56, 54, 46};
Volume(101) = {100};
Surface Loop(102) = {46, 66, 48, 68, 62, 64};
Volume(103) = {102};
Surface Loop(104) = {50, 74, 76, 48, 72, 70};
Volume(105) = {104};
Surface Loop(106) = {52, 82, 84, 50, 78, 80};
Volume(107) = {106};


Physical Volume(2) = {101, 103, 105, 107};

Line Loop(108) = {22,32,5,14};
Plane Surface(109) = {108};
Line Loop(110) = {31,6,13,21};
Plane Surface(111) = {110};
Surface Loop(112) = {111,60,68,109,82,72};
Volume(113) = {112};
