BOOLEAN OPERATION AND OVERSIZE

edited May 12 in KLayout Support

Hello,

i saw that into the menu EDIT --> LAYER there is the possibility to execute some BOOLEAN OPERATION.

Is it possible execute the same ones automatically using a script?

I would like also add some oversize.

Best regards

 Luciano

Comments

  • This can be done in DRC scripts. DRC scripts can produce output to new layers or to the input layer. For example to run an AND between layer 1/0 and 2/0, oversize the result by 100nm and store the result in a new layer 10/0 you can use this script:

    a = input(1, 0)
    b = input(2, 0)
    (a & b).sized(100.nm).output(10, 0)
    

    Matthias

Sign In or Register to comment.