Skip to content

polygons that contain coincident internal edges not flagged as odd_polygons #2441

Description

@d-m-bailey

Other tools flag polygons that contain zero width portions as invalid, but klayout odd_polygons check does not flag these shapes.

Version 0.30.7

  1. First create a loop shape path.
Image
  1. Then add a path.
Image
  1. merge. Notice that the lower-left rectangle has an internal upper edge.
Image
  1. Use partial to move the top edge of the hole. This shows the zero width portion hidden in 3 above.
    Merging the data eliminates any drc errors, but other tools flag the shape in step 3 as a bad polygon.
Image
  1. Using partial move again shows the two internal edges that constituted the zero width portion.
Image

Is there a way to detect this (or better yet, prevent this from occuring during merge) in klayout?

CC: @H-Ojiro @jun1okamura

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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