Skip to content
Discussion options

You must be logged in to vote

The example works fine for me using the latest GDSFactory version (9.34.1), I just needed to activate a pdk and specify a layer:

import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.Component()
c1 = c << gf.components.circle(radius=10)
c2 = c << gf.components.circle(radius=9)
c2.movex(5)
c = gf.boolean(c1, c2, operation="xor", layer=(1,0))
c.show()

What version of GDSFactory are you using? Try upgrading to the latest version and see if the error still appears.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MAltvater-phys
Comment options

Answer selected by MAltvater-phys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants