Skip to content

Commit 02263f6

Browse files
authored
conformal cutout void fix (#232)
* Fixing cutout void * syntax cleanup
1 parent cc96ace commit 02263f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pyedb/dotnet/edb.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -2230,9 +2230,10 @@ def _create_cutout_multithread(
22302230
include_pingroups=include_pingroups,
22312231
pins_to_preserve=pins_to_preserve,
22322232
)
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-
2233+
if extent_type in ["Conforming", self.edb_api.geometry.extent_type.Conforming, 1]:
2234+
if extent_defeature > 0:
2235+
_poly = _poly.Defeature(extent_defeature)
2236+
_poly = _poly.CreateFromArcs(_poly.GetArcData(), True)
22362237
if not _poly or _poly.IsNull():
22372238
self._logger.error("Failed to create Extent.")
22382239
return []

0 commit comments

Comments
 (0)