Validate routing options and match custom S-bend widths consistently
This commit is contained in:
parent
a86e0a4f5a
commit
f9ba5669dd
1 changed files with 149 additions and 26 deletions
|
|
@ -611,7 +611,10 @@ class _AutomaticRun:
|
|||
trials: list[Trial] = []
|
||||
if not self.problem.nets or options.search.node_limit <= 0 or options.congestion.max_iterations <= 0:
|
||||
self._lattice_fallback(trials, options, "No automatic search requested")
|
||||
elif options.search.sbend_outlines or isinstance(proxy, shapely.Polygon) or physical != "arc":
|
||||
elif (
|
||||
isinstance(proxy, shapely.Polygon) or physical != "arc"
|
||||
or options.search.has_applicable_sbend_outline(net.width for net in self.problem.nets)
|
||||
):
|
||||
self._lattice_fallback(trials, options, "Custom bend geometry uses lattice routing")
|
||||
else:
|
||||
with self._time("plan"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue