Prefer .kicad_pcb pad nets when building the design graph.
Schematic geometry on KiCad 10 boards was swapping rails and inventing floating pins; board connectivity is authoritative when a PCB is uploaded. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1565,6 +1565,7 @@ async def _stage_graph_build(ctx: PipelineContext) -> None:
|
||||
if ctx.meta.netlist_subdesigns is not None
|
||||
else None
|
||||
),
|
||||
pcb_path=ctx.ws.local_path("uploads/pcb.kicad_pcb"),
|
||||
)
|
||||
|
||||
graph_path = ctx.ws.local_path("design_graph.json")
|
||||
@@ -2130,6 +2131,7 @@ async def run_regen_pipeline(
|
||||
if meta.netlist_subdesigns is not None
|
||||
else None
|
||||
),
|
||||
pcb_path=ws.local_path("uploads/pcb.kicad_pcb"),
|
||||
)
|
||||
|
||||
graph_path = ws.local_path("design_graph.json")
|
||||
|
||||
Reference in New Issue
Block a user