We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc96ace commit 02263f6Copy full SHA for 02263f6
src/pyedb/dotnet/edb.py
@@ -2230,9 +2230,10 @@ def _create_cutout_multithread(
2230
include_pingroups=include_pingroups,
2231
pins_to_preserve=pins_to_preserve,
2232
)
2233
- if extent_type in ["Conforming", self.edb_api.geometry.extent_type.Conforming, 1] and extent_defeature > 0:
2234
- _poly = _poly.Defeature(extent_defeature)
2235
-
+ if extent_type in ["Conforming", self.edb_api.geometry.extent_type.Conforming, 1]:
+ if extent_defeature > 0:
+ _poly = _poly.Defeature(extent_defeature)
2236
+ _poly = _poly.CreateFromArcs(_poly.GetArcData(), True)
2237
if not _poly or _poly.IsNull():
2238
self._logger.error("Failed to create Extent.")
2239
return []
0 commit comments