[Gmsh] About Extruted

Michel Dupront michel.dupront at hotmail.fr
Sat Nov 17 18:21:16 CET 2012



Hello,

I am building a cube using the "Extrute" command as
shown in the piece of code that follows:

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

        Line(1)  = {1, 2};
        Transfinite Line(1) = 11; 

        surf[] = Extrude {0,10,0} { Line{1}; Layers{10}; }; 
        vol [] = Extrude {0,0,10} { Surface{surf[1]}; Layers{10}; }; 

The construction starts with the two vertices of index 1 and 2.
Is there a way to get the indices of the other 6 vertices  ?

Thanks 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121117/a3c6149f/attachment.html>