[Gmsh] Preservation of physical surface labels after boolean operation
andrew
armitatz at gmail.com
Sat Apr 15 19:39:54 CEST 2017
Hi,
The new gmsh 3 is great with the Boolean additions!.
I would like to ask if there is a way to preserve the labeling of the
physical surfaces of the objects and the tool objects before the Boolean
operation and pass them to the new objects after the Boolean operation.
For example in the following geo file there is a main object (b1[]) from
extrusion and 3 tool objects (b2[],b3[],b4[]) created from extrusion.
>From these objects I define two physical surfaces (b1[2]=out - plane 5
/b2[3]=inside - plane 11). If I perform a Boolean operation with them I
lose the out/inside names and since the numbering of the surfaces changes
from the creation of new objects I can't find the inside/out labels any
more. Is there a way to preserve the names from the old objects and pass
them to the new object? For example the newly created surfaces (plane 40 -
plane 25) in the new object that were part of the out surface before could
be preserved.
Something like: Physical Surface("new_out")=FromOld("out") that could
assing to the surfaces 40 & 25 the tag 'out' from the surface 5 since these
two were created from the breaking of surface 5.
kind regards
Andrew Tsiantis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170415/c48678e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c.geo
Type: application/octet-stream
Size: 1556 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170415/c48678e3/attachment.geo>
More information about the gmsh
mailing list