From d353c72c1696a1bda2e1f01139a456e07b73d827 Mon Sep 17 00:00:00 2001 From: Sebastian Goeldi Date: Fri, 6 Oct 2023 16:09:13 +0200 Subject: [PATCH] Fixed layer enclosure errors in extrude_path --- changelog.d/+1d980207.fixed.md | 1 + src/kfactory/enclosure.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/+1d980207.fixed.md diff --git a/changelog.d/+1d980207.fixed.md b/changelog.d/+1d980207.fixed.md new file mode 100644 index 00000000..a0808dcc --- /dev/null +++ b/changelog.d/+1d980207.fixed.md @@ -0,0 +1 @@ +Fixed layer enclosure errors in extrude_path \ No newline at end of file diff --git a/src/kfactory/enclosure.py b/src/kfactory/enclosure.py index 24f9bcac..1aa9584f 100644 --- a/src/kfactory/enclosure.py +++ b/src/kfactory/enclosure.py @@ -211,7 +211,7 @@ def extrude_path( reg.insert(_r) if _layer == layer and i == j: ret_path = _path - target.shapes(layer).insert(reg.merge()) + target.shapes(_layer).insert(reg.merge()) return ret_path