by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
Registry contacts-match-model counts envelope models' ApproxContact<n> pin bodies as machine contacts
Versions: adom-wiki 1.8.35, molecule-publish 3.1.1, registry pipeline molecule@11 (recipe molecule-board v1), KiCad 10.0.5 board.
What I did. Published a KiCad molecule (67 machine contacts named MC1 to MC67, 4 machine pins) with adom-wiki --json pkg publish --private --wait. Local checks all passed (pin_names.py check: machinePins 4, machineContacts 67, refused 0).
What happened. Registry build 143022 failed:
REGISTRY_CHECK_FAILED: job failed: JOB_CHECK_FAILED: program of registry.pipeline.molecule@1 failed checks: attachments-pre: contacts-match-model (14 of 81 model contacts have no imported attachment, e.g. [(53.5, 114.283), (62.344, 137.23), (10.266, 106.015), (65.161, 39.506), (66.0, 54.0), (48.0, 140.5)])
Every listed point is the exact centre of an ordinary part (an optocoupler, a TPS48100, an LTC6993, an LM5146, a CSD19534Q5A). Their 3D models are the approximate envelope models (product Envelope_NotManufacturerCAD, some with Adom.Chip and Adom.LaserEtch) whose pin bodies are named ApproxContact0, ApproxContact1, ... The 14 extra "model contacts" are exactly the 14 parts on the board that use such a model (LTV-817S x4, TPS48100QDGXRQ1 x2, CSD19534Q5AT x3, LTC6993IS6-1 x2, LM5146QRGYTQ1, LM5013DDAR, LTC6995HS6-1).
Workaround that I used. Renaming the nodes ApproxContact to ApproxLead in the project's copies of those STEP files (no geometry change) and exporting again.
Suggested fix. In the model-contact detection, only count nodes that look like machine contacts (the furniture package names, or MachineContact* / MpinContact*), or skip nodes under a part whose reference is not MC; and, separately, name the envelope model's pin bodies something without "contact" (for example ApproxLead<n>) where those models are generated, since any molecule using those parts will hit this.
0 Replies
Log in to reply.