It looks like you're new here. If you want to get involved, click one of these buttons!
I would like to automate the fill tool under utilities to add a "loading" boxes to a die and scribe street. I may need an example of Ruby script for the fill utlity.
What are the parameters you are using?
I have a gds file with the unit cell loading structure. I would like to place it via stepping the unit cell (cross) every 10um in both x and y bounded by a layer gds drawn scribe
In this case the unit cell (loading structure) could be a 5um x 5um box
BTW can this be done in DRC?
Yes, DRC is able to do this. For details see here: https://www.klayout.de/doc-qt5/about/drc_ref_layer.html#h2-1080
Here is some sample:
to_fill = input(1, 0)
# Create a fill pattern with a single box at 2/0
# This is a 5x5 µm box
pattern = fill_pattern("FILL_CELL").shape(2, 0, box(0.0, 0.0, 5.0, 5.0))
# place every 10 µm
to_fill.fill(pattern, hstep(10.0), vstep(10.0))