smbinterp/gmsh/gmsh.3D.geo

15 lines
272 B
GLSL

a = 0.885;
Point(0) = {0, 0, 0, a};
Point(1) = {1, 0, 0, a};
Point(2) = {1, 1, 0, a};
Point(3) = {0, 1, 0, a};
Line(1) = {0, 1};
Line(2) = {1, 2};
Line(3) = {2, 3};
Line(4) = {3, 0};
Line Loop(6) = {3, 4, 1, 2};
Plane Surface(6) = {6};
Extrude {0, 0, 1} {
Surface{6};
}