kqcircuits.util.groundgrid
- kqcircuits.util.groundgrid.make_grid(boundbox, avoid_region, grid_step=10, grid_size=5, group_n=10)[source]
Generates ground grid covering boundbox with holes not overlapping with the avoid_region.
- Parameters:
boundbox – bounding box of grid in database unit
avoid_region – area on which grid is avoided
grid_step – step between consecutive holes in database unit
grid_size – hole edge length in database unit
group_n – number of adjacent holes in a group (is used to speed up grid generation)
- Returns:
grid region