Point(1) = {0,0,0,0.1};
Point(2) = {0,1.5875,0,0.1};
Point(3) = {0,4.0235,0,0.1};
Point(4) = {0,5.611,0,0.1};
Point(5) = {10,0,0,0.1};
Point(6) = {10,1.5875,0,0.1};
Point(7) = {10,4.0235,0,0.1};
Point(8) = {10,5.611,0,0.1};
Point(9) = {17.9375,0,0,0.1};
Point(10) = {17.9375,1.5875,0,0.1};
Point(11) = {17.9375,4.0235,0,0.1};
Point(12) = {17.9375,5.611,0,0.1};
Point(13) = {21.1125,0,0,0.1};
Point(14) = {21.1125,1.5875,0,0.1};
Point(15) = {21.1125,4.0235,0,0.1};
Point(16) = {21.1125,5.611,0,0.1};
Point(17) = {31.1125,0,0,0.1};
Point(18) = {31.1125,1.5875,0,0.1};
Point(19) = {31.1125,4.0235,0,0.1};
Point(20) = {31.1125,5.611,0,0.1};

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

Line Loop(32) = {1,2,3,4};
Plane Surface(33) = {32};
Line Loop(34) = {3,-7,-6,-5};
Plane Surface(35) = {34};
Line Loop(36) = {6,-10,-9,-8};
Plane Surface(37) = {36};
Line Loop(38) = {11,12,13,-2};
Plane Surface(39) = {38};
Line Loop(40) = {13,5,-15,-14};
Plane Surface(41) = {40};
Line Loop(42) = {15,8,-17,-16};
Plane Surface(43) = {42};
Line Loop(44) = {18,19,20,-12};
Plane Surface(45) = {44};
Line Loop(46) = {20,14,22,-21};
Plane Surface(47) = {46};
Line Loop(48) = {-22,16,24,-23};
Plane Surface(49) = {48};
Line Loop(50) = {25,26,-27,-19};
Plane Surface(51) = {50};
Line Loop(52) = {-27,21,29,-28};
Plane Surface(53) = {52};
Line Loop(54) = {-29,23,31,-30};
Plane Surface(55) = {54};

Transfinite Line {6,9,1,3} = 40 Using Bump .4;
Transfinite Line {8,10,16,23,30} = 10;
Transfinite Line {15,17,13,11} = 40;

Transfinite Surface {37} = {3,4,7,8};
Recombine Surface {37};

Transfinite Surface {43} = {7,8,11,12};
Recombine Surface {43};

Transfinite Line {18,20,22,24} = 20;
Transfinite Surface {49} = {11,12,15,16};
Recombine Surface {49};

Transfinite Line {25,27,29,31} = 40 Using Progression 1.02;
Transfinite Surface {55} = {15,16,19,20};
Recombine Surface {55};

Transfinite Line {7,5,14,21,28} = 15;

Transfinite Surface {35} = {2,3,6,7};
Recombine Surface {35};

Transfinite Line {4,2,12,19,26} = 10;

Transfinite Surface {33} = {1,2,5,6};
Recombine Surface {33};

Transfinite Surface {41} = {6,7,10,11};
Recombine Surface {41};

Transfinite Surface {47} = {10,11,14,15};
Recombine Surface {47};

Transfinite Surface {53} = {14,15,18,19};
Recombine Surface {53};

Transfinite Surface {39} = {5,6,9,10};
Recombine Surface {39};

Transfinite Surface {45} = {9,10,13,14};
Recombine Surface {45};

Transfinite Surface {51} = {13,14,17,18};
Recombine Surface {51};

Physical Surface(56) = {43};
Physical Surface(57) = {45};
Physical Surface(58) = {37,35,33,41,39,49,47,55,53,51};

Extrude {0,0,1.524} {
  Surface{33,35,37,39,41,43,45,47,49,51,53,55};
  Layers{10};
  Recombine;
}

