cl1 = 0.1;
n1 = 10;

Point(1) = {0, 0, 0, cl1};
Point(2) = {1, 1, 0, cl1};
Point(3) = {2, 0, 0, cl1};

Point(4) = {0, 1, 1, cl1};
Point(5) = {0, 0, 2, cl1};

Point(6) = {1, 1, 2, cl1};
Point(7) = {2, 0, 2, cl1};

Point(8) = {2, 1, 1, cl1};

BSpline(1) = {1, 2, 3}; Transfinite Line{1} = n1;
BSpline(2) = {1, 4, 5}; Transfinite Line{2} = n1;
BSpline(3) = {5, 6, 7}; Transfinite Line{3} = n1;
BSpline(4) = {7, 8, 3}; Transfinite Line{4} = n1;

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