//29 Novembre 2017 // Bassem Khaddour && Loic Chevalier //bassem.khaddour@emse.fr && loic.chevalier@emse.fr lc=1.0; Translation_Z=1.2; Xdistance=6; Ydistance=6; NombreDeCouch=4; Point(2) = {Xdistance,-Ydistance,0,lc}; Point(3) = {Xdistance,Ydistance,0,lc}; Point(4) = {-Xdistance,Ydistance,0,lc}; Point(5) = {-Xdistance,-Ydistance,0,lc}; Line(1) = {2,3}; Line(2) = {3,4}; Line(3) = {4,5}; Line(4) = {5,2}; Physical Line("Right") = {1}; Physical Line("Top") = {2}; Physical Line("Left") = {3}; Physical Line("Bottom") = {4}; Line Loop(6) = {1,2,3,4}; Plane Surface(7) = {6}; Physical Surface("Rectangl") = {7}; //Transfinite Surface{7}={2,3,4,5}; // éléments Triangulaires structurés //Recombine Surface{7};// éléments Rectangulaires structurés //3D //Extrude {0,0,Translation_Z} { //Surface{7}; //Layers{NombreDeCouch}; //Recombine; //}