[Gmsh] Abandoning transform and getting points/lines/surfaces instead

Paweł Maciakowski Pawel.Maciakowski at ctm.gdynia.pl
Wed May 27 08:23:58 CEST 2015


Hi all,

Is there a way to abandon duplicate/extrude statements but keep 
points/lines/surfaces?

For example:
You extrude a line and get auto-generated numbering for new points, line 
and surface. I would like to give up on the possibility of changing 
extrude parameters and have access to the points and lines themselves.

Start with that:
Line(3) = {1, 2};
Extrude {0, 0, 1}{
     Line{3};
}

and instead get this:
Line(3) = {1,2};
Point(4) = {x1, y1, z1+1};
Point(5) = {x2, y2, z2+1};
Line(6) = {4,5};
Line(7) = {1,4};
Line(8) = {2,5};
Line Loop(9) = {3,8, -6, -7};
Plane Surface(10) = {9};


Is that possible?
Thanks,
PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150527/c1a08256/attachment.html>


More information about the gmsh mailing list