Support Forum

Boolean Operations on large numbers of Polygons

Robert
LayoutEditorFull
Wednesday 6th November 2019
I am trying to generate derived layers on large numbers of polygons (>60000). Using either 'Derived Layer' or a Boolean operation some of the created layer is split into several polygons. This polygon does not meet the 8191 point limit. Trying to merge using the Boolean merge the polygon is split further. I would like to reduce the size of the layer but when shrunk the splits obviously create gaps in the features that are not wanted. Selecting several of the split polygons and merging works, and eventually the whole feature can be merged correctly, but I would like to create a script and not merge manually. Is there another way of merging these polygons or creating a derived layer without the polygon splitting?
Jürgen
LayoutEditorFull
Wednesday 6th November 2019
Hi Robert, the 'Bool On Layer' feature as well as the 'Derived Layer' feature will avoid huge polygons by processing in frames (region by region separate). This will speed up operation and keep the design handy for later operation. The polygon point limit is not fix, but it is tried to be below the GDS limit you mentioned. Sometimes it is required to merge these polygons despite the gds file format limit of 8192 points. This can be done with the 'Bool On Layer ' feature with 'A merge' and choosing the option 'merge all' (visible after press the little '+' in the lower left of the dialog to show advanced option). The LayoutEditor is not limited the size of polygons to 8192 point, it can as well handle 20000 points or 100000 points for a single polygon. However performance will go down with such big polygons and for file format like GDS these polygon will splited during the save operation, if not the gds export option 'multi xy record for unlimted polygon size' is enabled.
Robert
LayoutEditorFull
Wednesday 6th November 2019
Hello Jurgen. Thank you for the quick response. I have tried 'Bool on Layer' and 'A merge' but ended up with more Polygons. I have tried the Multi MX Record feature with no change to performance. I can possibly send an example but not on a public forum.
Jürgen
LayoutEditorFull
Wednesday 6th November 2019
Did you activate the 'merge all' option in the 'Bool on Layer' dialog? That option is off by default and you need to press the little '+' in the lower left corner to see this advanced option. You can send an example to *sales@layouteditor.com*
Robert
LayoutEditorFull
Wednesday 6th November 2019
Thank you Jurgen. That certainly helped.