mcl = 0.25; 
Point(1000) = {9.40, 5.5, 0, mcl}; 
Point(1003) = {9.40, 6.6, 0, mcl}; 
Point(1004) = {8.68, 6.6, 0, mcl}; 
Point(1005) = {7.91, 5.5, 0, mcl}; 
Point(1006) = {8.25, 6.6, 0, mcl}; 
Point(1007) = {7.83, 6.6, 0, mcl}; 
Point(1008) = {7.39, 6.6, 0, mcl}; 
Point(1009) = {6.84, 6.6, 0, mcl}; 
Point(1010) = {5.97, 6.6, 0, mcl}; 
Point(1011) = {4.89, 6.6, 0, mcl}; 
Point(1012) = {3.71, 6.6, 0, mcl}; 
Point(1013) = {3.43, 6.0, 0, mcl}; 
Point(1014) = {4.05, 5.5, 0, mcl}; 
Point(1015) = {5.45, 5.5, 0, mcl}; 
Point(1016) = {6.1, 5.5, 0, mcl}; 
Point(1017) = {6.93, 5.5, 0, mcl}; 
Point(1018) = {7.20, 5.5, 0, mcl}; 
Point(1019) = {7.52, 5.5, 0, mcl}; 
Point(1020) = {8.5, 5.5, 0, mcl}; 
Point(1021) = {9.4, 1.82, 0, mcl}; 
Point(1022) = {6.12, 2.27, 0, mcl}; 
Point(1023) = {3.22, 3.63, 0, mcl}; 
Point(1024) = {2.02, 6.11, 0, mcl}; 
Point(1025) = {3.15, 8.27, 0, mcl}; 
Point(1026) = {5.5, 9.0, 0, mcl}; 
Point(1027) = {8.2, 9.5, 0, mcl}; 
Point(1028) = {9.4, 9.75, 0, mcl}; 



Line(1036) = {1003, 1004};
Spline(1037) = {1004, 1006, 1007, 1008, 1009};
Spline(1038) = {1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016};
Line(1039) = {1016, 1017};
Line(1040) = {1017, 1018};
Spline(1041) = {1018, 1019, 1005, 1020};
Line(1042) = {1020, 1000};
Line(1043) = {1000, 1003};
Line Loop(1044) = {1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043};
Plane Surface(1045) = {1044};


Line(1029) = {1000, 1021}; 
Spline(1030) = {1021, 1022, 1023, 1024, 1025, 1026};
Spline(1031) = {1026, 1027, 1028};
Line(1032) = {1028, 1003};
Line(1033) = {1003, 1000};
Line Loop(1034) = {1029, 1030, 1031, 1032, 1033}; 
Plane Surface(1035) = {1034, 1044};


Translate {-9.4, 0.0, 0.0} { Surface{1035,1045}; }

new_surf1[] = Symmetry {1.0, 0.0, 0.0, 0.0} { Duplicata{Surface{1035};} };
new_surf2[] = Symmetry {1.0, 0.0, 0.0, 0.0} { Duplicata{Surface{1045};} };

// This produces errors
//Extrude {0, 0, 10} {
//  Surface{1035, 1045, new_surf1[0], new_surf2[0]};
//  Layers{1035, 1045, new_surf1[0], new_surf2[0]};
//  Recombine;
//};

Extrude {0, 0, 10} {
  Surface{1035, 1045};
  Layers{1035, 1045};
  Recombine;
}
