Preflight component geometry before tessellation

This commit is contained in:
Jan Petykiewicz 2026-11-29 00:16:13 -08:00
commit c480871f07

View file

@ -140,7 +140,7 @@ def _verified_candidates(
seeds: Iterable[PathSeed],
) -> Iterator[tuple[PathSeed, BaseGeometry, tuple[ComponentResult, ...]]]:
for seed in seeds:
path = materialize_path_seed(seed, start=net.start, net_width=net.width, search=search, clearance=world.clearance)
path = materialize_path_seed(seed, start=net.start, net_width=net.width, search=search, clearance=world.clearance, bounds=board.bounds)
if not path or path[-1].end_port != net.target or not world.verify_path_report(net.net_id, path).is_valid:
continue
footprint = union_all([polygon for component in path for polygon in component.physical_geometry])