Skip to content

Commit

Permalink
fix boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Oct 14, 2023
1 parent 676ee58 commit ebd811d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions notebooks/10_layout_full.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@
"\n",
"![](https://i.imgur.com/oeuKGsc.png)\n",
"\n",
"In gdsfactory **all dimensions** are in **microns**\n",
"\n",
"based on [UCSB workshop](https://github.com/aisichenko/gdsfactory-workshop-ucsb) workshop"
"In gdsfactory **all dimensions** are in **microns**"
]
},
{
Expand Down Expand Up @@ -102,7 +100,7 @@
"\n",
"e = gf.components.ellipse(radii=(10, 5), layer=(1, 0))\n",
"r = gf.components.rectangle(size=[15, 5], layer=(2, 0))\n",
"b = gf.geometry.boolean(A=E, B=R, operation=\"not\", precision=1e-6, layer=(3, 0))\n",
"b = gf.geometry.boolean(e, r, operation=\"not\", precision=1e-6, layer=(3, 0))\n",
"# Other operations include 'and', 'or', 'xor', or equivalently 'A-B', 'B-A', 'A+B'\n",
"\n",
"# Plot the originals and the result\n",
Expand Down

0 comments on commit ebd811d

Please sign in to comment.