Skip to content

Internal error: ../../../src/db/db/dbPolygonTools.cc:489 _cut_polygon_internal (poly, line, right_of_line) was not true #166

@lukasc-ubc

Description

@lukasc-ubc

In KLayout 0.25.4, MacOS:

  • I created a layout in GDS

  • ran a script to do an inversion

  • Saved the GDS, and received the above error

  • Saved the file as a DXF, and that works

  • Closed and opened the DXF

  • Tried saving again as a GDS, and same error

  • I also tried to clean up the polygons by doing "Merge Shapes", and that didn't help.

wg_loss_zep2.DXF.zip

Edit: It would be nice if there was a utility that checked for strange polygon things, such as in the above layout. By doing a "Size Shape" 0.001 and -0.001, I was able to get it to save.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions