Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set grid size for union of GDSII shapes
Without a grid size, the default from shapely is `double` precision, which leads to artifacts in the final geometry. Because the GDSII cordinates are already snapped to a grid, this should have no adverse effect unless the GDSII grid is finer than 1e-12. The usual default in GDSII files is for precision to be 1e-9 with unit 1e-6, that is a grid size of 1e-3, so the chosen value of 1e-12 should be quite safe. Signed-off-by: Lucas Heitzmann Gabrielli <[email protected]>
- Loading branch information