1
// define a layer variable
4
// define a len variable
7
Point(1) = {0.0, 0.0, 0.0, 1.0};
9
Extrude {len, 0.0, 0.0} {
10
Point{1}; Layers{lay}; Recombine;
13
Extrude {0.0, len, 0.0} {
14
Line{1}; Layers{lay}; Recombine;
17
Physical Line(7) = {1};
18
Physical Line(8) = {4};
19
Physical Line(9) = {2};
20
Physical Line(10) = {3};
22
Physical Surface(10) = {5};