On 21 Mar 2013, at 10:54, Albert Ziegenhagel <[email protected]> wrote:
> Hi, > > I need to cut out a part of a CAD geometry (stored in a GModel object) and > preserve the physical groups in it. > > > So what I have is a first CAD geometry that has physical groups set on it > (e.g. the whole surface is one group and the whole volume is another). > Then I have a second geometry that is always a simple box without any > physical groups on it. > Now I want to get the part of the first geometry, that intersects the second > one but includes the (parts) of the physical groups as well. > > > I tried to use the computeBoolenIntersection method provided by the GModel > class, but it seems to discard the physical groups. The resulting geometry > allways comes without any physical groups set. > > > I'm I missing anything? Is this simply not implemented or is it a bug? Hi Albert - It's just not implemented. Our current interface with external CAD creation routines is still quite "beta": we should definitely include a system that tries to preserve physical tags (as much as possible) when modifying a model. > If it is not implement: could there by any other way to achieve the things I > need? > > > Thank you for your help in advance! > > > Regards, > Albert > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
