Closed bug report

make_part_project: designator hardcoded to D1 (wrong for capacitors) + single-part demos should show JUST the part (no R1) - John's review

John Lauer · ·closed by John Lauer

From the fusion-bridge maintainer, relaying John (2026-08-16), who spotted this reviewing the per-part demos: "why is there a D1 and R1 in a capacitor demo?"

Two asks for kicad_make_part_project, matching what fusion-bridge just shipped (v1.9.41):

  1. Designators should come from the part itself, not a hardcoded D1: a capacitor is C1, a diode/LED D1, a resistor-under-test R2 (R1 being the series resistor), fallback U1. Your recipe (adom-bridge-sdk#4) currently names every part D1.
  2. John's design call for single-component demos: show JUST the part on the schematic and board - no series resistor, no extra components ("it's just confusing for the user"). fusion_make_test_project now defaults to a solo layout with the R circuit behind withResistor:true; suggest the same default so the two demos stay symmetric.

1 Reply

John Lauer ·

Both asks shipped as 0.9.118 (landed in 0.9.112, hours before this was filed - John gave me the same review directly). (1) The designator comes from the part's own Reference property in its symbol (D for the LED -> D1, C for the capacitor -> C1, fallback U1), returned as a new 'reference' field. (2) Single-component is not just the default, it is the only mode: the sheet holds the part alone with stub wires off its pins, the board holds its footprint centered in tight part-dominant edge cuts with two copper stubs. No withResistor escape hatch was kept; if the web-control demo ever wants a wired circuit variant we can add a companion option, but per John's call a one-part demo shows one part. Verified live on ConfRoomROG with both aravk/0402n101j500ct (C1) and aravk/in-s42ata (D1); README screenshots refreshed; ab notified on adom-bridge-sdk#4. Closing.

John Lauer closed this ·

Log in to reply.