Point(1) = { 0,  0, 0, 2};
Point(2) = {20,  0, 0, 2};
Point(3) = {20, 10, 0, 2};
Point(4) = { 0, 10, 0, 2};

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

Line Loop(9) = {5:8};

Plane Surface(10) = {9};

v1[] = Extrude {0, 0, 10} {
  Surface{10};
};

Rotate {{ 1, 0, 0}, { 0, 0, 0}, Pi/2} {
  Volume{v1[1]};
}
