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