Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: --skip_layer option for strmxor #1668

Closed
stefanottili opened this issue Mar 29, 2024 · 1 comment
Closed

feature request: --skip_layer option for strmxor #1668

stefanottili opened this issue Mar 29, 2024 · 1 comment

Comments

@stefanottili
Copy link

It would be nice if one could skip one or multiple layers using strmxor, similar to klayout's "xor only visible layers".

E.g. skip all base and tile layer if you're only interested in metal differences.

@klayoutmatthias
Copy link
Collaborator

Actually, this is already possible through the layer mapping feature:

For example, if you like to exclude layers 10 to 12, datatype 0 and all datatypes of layer 15, you can use:

strmxor -am "[*/*] -(10-12/0) -(15/*)" -as -bm "[*/*] -(10-12/0) -(15/*)" -bs a.gds b.gds xor.gds

"-as" and "-bs" (skip unknown layers) is necessary, so the reader won't add the unmapped layers again.

Matthias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants