Skip to content

without_density goes outside the boundary of the input layer #809

@ahmednofal

Description

@ahmednofal

Thank you for your work on this project.
1- Can you use with_density and without_density for metal density drc checks ?

2- I am using without_density function(for a field oxide mask drc density check) to retrieve the polygons in a layer that do not achieve a certain density. My input layer has a bounding box that without_density function-produced tiles go out of.
Blue is the tiles produced by without_density, red is the input layer to the without_density function.
image

     input_layer = input(wild_card)
     print("\n#{input_layer.bbox}")
     print("\n#{input_layer.bbox}")
     bad_density = input_layer.without_density(0.33..0.57, tile_size(700.um), tile_step(70.um))
     good_density = input_layer.with_density(0.33..0.57, tile_size(700.um), tile_step(70.um))
     target("output.gds")
     input_layer.output(wild_card)
     bad_density.output(arbitrary_layer_num)
     good_density.output(arbitrary_layer_num2)

with a bounding box of (7.92,7.9;3592.5,5192.45)
It is not clear which layer(and consequently which boundary) is used for the base layer(which you divide the area of the polygon on), which would normally be the boundary layer. I tried using tile_boundary but it turns out that this options INCREASES the boundary and can not reduce it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions