Skip to content

Incomplete fill #1309

@klayoutmatthias

Description

@klayoutmatthias

This ticket originates from this discussion (rear part): https://www.klayout.de/forum/discussion/2162/automating-the-untilities-fill-tool-in-ruby#latest

Test data is attached. The script which generates the fill is this:

to_fill = input(1, 0)
# Create a fill pattern with a 0.025x0.025 µm box at 2/0
pattern = fill_pattern("FILL_CELL").shape(2, 0, box(0, 0, 0.025, 0.025))
pattern.origin(0.0125, 0.0125)

# place every 25 nm
to_fill.fill(pattern, hstep(0.025), vstep(0.025))

# find gaps
input(2, 0).merged.space(0.05.um).output(100,0)

Fill test.zip

The expectation is to see a fully filled ring. Instead gaps appear.

The issue can be reproduced by a simple version of the test case:

discussion_2162.oas.zip

Side note: using "deep" mode will not perform the space check as the generated 2/0 layer is not read correctly as "input(2, 0)".

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions