Require triangulation and simplify automatic routing

Remove the dependency fallback and joint portal lane retry, make tiered search opt-in, and consolidate tests while adding low-length-cost routing boards.
This commit is contained in:
Jan Petykiewicz 2026-12-01 22:30:29 -08:00
commit 7476209ef3

View file

@ -179,7 +179,7 @@ def _corridor(directory: Path) -> None:
mesh = _Mesh(box(*problem.bounds), problem.static_obstacles, net.width / 2, problem.clearance)
endpoints, leads = _endpoint_access(mesh, problem.nets, radius)
selected = _plan_lane_assignments(
mesh, problem.nets, endpoints, leads, bend_radius=radius, limit=options.topology.max_corridors, joint_net_ids=frozenset()
mesh, problem.nets, endpoints, leads, bend_radius=radius, limit=options.topology.max_corridors,
)[net.net_id][0]
result = route(problem, options=options).results_by_net[net.net_id]
assert result.is_valid