[Gmsh] grouping of surfaces after brep import
andrew
armitatz at gmail.com
Fri Nov 3 21:27:31 CET 2017
Well I answered the question myself. Some may find this simple function
which creates physical surfaces useful.
Kind regards
Andrew
2017-11-02 9:40 GMT+02:00 andrew <armitatz at gmail.com>:
> Hi,
>
> I want after the loading of a brep file to group the surfaces according to
> some criteria. For example using the following files I try to filter the
> brep surfaces and assign groups to them. However in this case the left
> surface produces errors because of the construction of the brep file it
> consists from many small surfaces (1,4,8,11,12). So this simple filtering
> that is based on a single coordinate does not work correctly in this case.
>
> How can I filter efficiently the surfaces that have specific coordinate
> criteria? Is there an efficient one-line way or do I have to go with the
> time consuming coordinate check of every point and every surface?
>
> Kind regards
>
> Andrew
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171103/196a2a40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PlaneFilter.zip
Type: application/zip
Size: 1285 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171103/196a2a40/attachment.zip>
More information about the gmsh
mailing list