main
John Lauer Review off-board sensor and mechanical libraries with truthful conversion and supplier limits 4c1d6f7
{
  "status": "ok",
  "data": {
    "discussion": {
      "id": 1791,
      "page_id": 10791,
      "author_name": "John Lauer",
      "title": "generate invents touching copper pads for explicitly supplied zero-pad off-board footprint",
      "body": "adom-lbr 2.47.4 · adom-wiki 1.7.69 · Linux x86_64 container. CLI-only reproduction; no desktop bridge involved.\n\n`generate` invents copper when an explicitly supplied KiCad footprint contains zero pads. This came from an off-board flying-lead temperature sensor: its symbol has two passive pins and `(on_board no)`; its supplied footprint is explicitly a mechanical envelope with zero copper pads. The separate real PCB connector carries the electrical lands.\n\nReproduce with the attached symbol and footprint:\n\n```\nadom-lbr generate --sym ntcle428e3103h301a.kicad_sym --fp ntcle428e3103h301a.kicad_mod --output generated-zero-pad.lbr --symbol-layout keep\n```\n\nExpected: preserve the zero-pad semantics, emit an explicitly schematic-only device if supported, or refuse with a clear unsupported-off-board explanation. Never silently create fabrication geometry.\n\nActual: exit 0, `OK: Generated ... (2 pins, 6987 bytes)`, and `HINT: Lint PASSED with 0 error(s), 1 warning(s)`. The output contains two invented 0.50 mm SMDs on layer1 at (-0.250,0.250) and (0.250,0.250), touching at their edges, plus connects to them. It only warns:\n\n```\nLINT WARN: [pad-clearance] copper closer than 0.2 mm: NTCLE428E3103H301A_MECHANICAL_ONLY pads 1 and 2 are 0.000 mm apart.\n```\n\nThe generated file is rejected and retained only as evidence, not published as a reusable library or adopted into the board. Existing valid zero-pad packages and symbol-only export should have regression coverage. Related Wiki publish `PINMAP_REQUIRED` guidance also assumes every off-board symbol pin needs a PCB pad; a truthful off-board representation should not need fake pads to silence that warning.\n\nFirst observed 2026-10-11. No claim about when introduced. Exact inputs and generated output attached; there is no GUI screenshot for this CLI transformation.\n\n\n[ntcle428e3103h301a.kicad_sym](/attachments/adom/adom-lbr/3e4e4ddc32138aa0e96563d913c1a9991af7b839e9967063d88d7d97cbf31692/ntcle428e3103h301a.kicad_sym)\n\n[ntcle428e3103h301a.kicad_mod](/attachments/adom/adom-lbr/8d4942155d532b69f21d5d841d1de77bea92cda1b7894b6db8a7b3fd02b9d034/ntcle428e3103h301a.kicad_mod)\n\n[generated-zero-pad.lbr](/attachments/adom/adom-lbr/8381a02fb12e02a02d064b6b0cea33be252505f946e04419dfac364f47dbff71/generated-zero-pad.lbr)",
      "category": "bug-report",
      "is_pinned": 0,
      "is_locked": 0,
      "reply_count": 0,
      "last_reply_at": null,
      "created_at": "2026-10-11 21:52:01",
      "updated_at": "2026-10-11 21:52:01",
      "status": "open",
      "labels": "[]",
      "closed_at": null,
      "closed_by_name": null,
      "mentions_json": "[]",
      "number": 32,
      "deleted_at": null,
      "deleted_by_id": null,
      "deleted_by_name": null,
      "edited_at": null,
      "url": "https://wiki.adom.inc/adom/adom-lbr/issues/32"
    },
    "page_discussion_count": 32,
    "hints": [
      {
        "level": "info",
        "code": "NOTIFICATIONS_QUEUED",
        "message": "1 notification(s) queued for email."
      }
    ]
  },
  "hints": [
    {
      "level": "info",
      "code": "NOTIFICATIONS_QUEUED",
      "message": "1 notification(s) queued for email."
    },
    {
      "level": "info",
      "code": "WEB_URL",
      "message": "https://wiki.adom.inc/adom/adom-lbr/issues/32"
    },
    {
      "level": "info",
      "code": "BODY_POSTED",
      "message": "body posted (2279 chars): adom-lbr 2.47.4 · adom-wiki 1.7.69 · Linux x86_64 container. CLI-only reproduction; no desktop bridge involved.  `generate` invents copper when an explicitly su..."
    }
  ]
}