
//---------------------
// Points
//---------------------

Point(1) = {-10.0,2.0,-0.5};
Physical Point(1) = {1};
Point(2) = {-7.5,2.0,-0.5};
Physical Point(2) = {2};
Point(3) = {-2.5,1.0,-0.5};
Physical Point(3) = {3};
Point(4) = {0.0,1.0,-0.5};
Physical Point(4) = {4};
Point(5) = {-10.0,-2.0,-0.5};
Physical Point(5) = {5};
Point(6) = {-7.5,-2.0,-0.5};
Physical Point(6) = {6};
Point(7) = {-2.5,-1.0,-0.5};
Physical Point(7) = {7};
Point(8) = {0.0,-1.0,-0.5};
Physical Point(8) = {8};

//---------------------
// Lines
//---------------------

Line(1) = {1,2};
Transfinite Line {1} = 4;
Physical Line(1) = {1};
Point(17) = {-2.3002849153176292,14.998575423411854,-0.5};
Ellipse(2) = {2,17,2,3};
Transfinite Line {2} = 7;
Physical Line(2) = {2};
Line(3) = {3,4};
Transfinite Line {3} = 4;
Physical Line(3) = {3};
Line(4) = {5,6};
Transfinite Line {4} = 4;
Physical Line(4) = {4};
Point(18) = {-2.3002849153176292,-14.998575423411854,-0.5};
Ellipse(5) = {6,18,6,7};
Transfinite Line {5} = 7;
Physical Line(5) = {5};
Line(6) = {7,8};
Transfinite Line {6} = 4;
Physical Line(6) = {6};
Line(7) = {1,5};
Transfinite Line {7} = 5;
Physical Line(7) = {7};
Line(8) = {2,6};
Transfinite Line {8} = 5;
Physical Line(8) = {8};
Line(9) = {3,7};
Transfinite Line {9} = 3;
Physical Line(9) = {9};
Line(10) = {4,8};
Transfinite Line {10} = 3;
Physical Line(10) = {10};

//---------------------
// Surfaces
//---------------------

Line Loop(1) = {1,8,-4,-7};
Plane Surface(1) = {1};
Transfinite Surface(1) = {};
Recombine Surface(1) = 60.0;
Line Loop(2) = {2,9,-5,-8};
Ruled Surface(2) = {2};
Recombine Surface(2) = 60.0;
Line Loop(3) = {3,10,-6,-9};
Plane Surface(3) = {3};
Transfinite Surface(3) = {};
Recombine Surface(3) = 60.0;

//---------------------
// Extrusion - Volumes
//---------------------

// with translation in z only
surfaceVector[] = Extrude {0, 0, 1} {
  Surface{1,2,3};
  Layers{1};
  Recombine;
};


