// cube 1 xy plane 1
Point(1) = {0, 0, 0, 0.1};
Point(2) = {1, 0, 0, 0.1};
Point(3) = {1, 1, 0, 0.1};
Point(4) = {0, 1, 0, 0.1};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(1) = {1, 2, 3, 4};
Plane Surface(1) = {1};



// cube 1 xy plane 2
Point(5) = {0, 0, 1, 0.1};
Point(6) = {1, 0, 1, 0.1};
Point(7) = {1, 1, 1, 0.1};
Point(8) = {0, 1, 1, 0.1};
Line(5) = {5,6};
Line(6) = {6,7};
Line(7) = {7,8};
Line(8) = {8,5};
//Line Loop(2) = {5, 6, 7, 8};
//Plane Surface(2) = {2};

Line(9) = {8, 4};
Line(10) = {5, 1};
Line(11) = {6, 2};
Line(12) = {7, 3};

Line Loop(13) = {3, -9, -7, 12};
Plane Surface(14) = {13};
Line Loop(15) = {9, 4, -10, -8};
Plane Surface(16) = {15};
Line Loop(17) = {5, 11, -1, -10};
Plane Surface(18) = {17};
Line Loop(19) = {6, 7, 8, 5};
Plane Surface(20) = {19};
Line Loop(21) = {6, 12, -2, -11};
Plane Surface(22) = {21};
Surface Loop(23) = {14, 16, 18, 20, 22, 1};
Volume(24) = {23};


Point(10) = {0.5, 0, 0, 0.1};
Point(11) = {0.5, -0.5, 0, 0.1};
Point(12) = {0, -0.5, 0, 0.1};
Point(13) = {0.5, 0, 0.75, 0.1};
Point(14) = {0.5, -0.5, 0.75, 0.1};
Point(15) = {0, -0.5, 0.75, 0.1};
Point(16) = {0, 0, 0.75, 0.1};
Line(25) = {1, 10};
Line(26) = {10, 11};
Line(27) = {11, 12};
Line(28) = {12, 1};
Line(29) = {12, 15};
Line(30) = {15, 14};
Line(31) = {14, 11};
Line(32) = {15, 16};
Line(33) = {16, 13};
Line(34) = {13, 14};
Line(35) = {13, 10};
Line(36) = {16, 1};
Line Loop(37) = {32, 33, 34, -30};
Plane Surface(38) = {37};
Line Loop(39) = {30, 31, 27, 29};
Plane Surface(40) = {39};
Line Loop(41) = {32, 36, -28, 29};
Plane Surface(42) = {41};
Line Loop(43) = {36, 25, -35, -33};
Plane Surface(44) = {43};
Line Loop(45) = {25, 26, 27, 28};
Plane Surface(46) = {45};
Line Loop(47) = {31, -26, -35, 34};
Plane Surface(48) = {47};
Surface Loop(49) = {38, 42, 44, 46, 48, 40};
Volume(50) = {49};
