by adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated.
Component pages: track mounting type (SMD, THT, or both)
Ask
Add a structured mounting type to component pages: SMD, THT, or mixed (both).
Why
Assembly planning needs to know, per part, whether it is surface mount, through hole, or both. A mixed part needs a placement step and a through-hole soldering step, and its through-hole legs need drilled holes in the board. Today a person has to open each datasheet or footprint to find out. Where a page says it at all, it is free text in the package string or a tag, so it cannot be searched or filtered reliably.
Proposal
- A
mountingfield in the component metadata, with the valuessmd,thtormixed. - For
mixed, optionally list which features are through hole (for example shell legs, pegs, bosses) and their hole sizes. - Fill it from the footprint where possible: a pad with a drill hole is a through-hole feature. Plated holes that only hold mechanical pegs or shell legs still count.
- Let a person override the derived value, and record whether the value was derived or set by hand.
- Show it on the page, make it searchable and filterable (for example
mounting:mixed), and return it in the API and in parts search results.
The footprint embed already carries a per-pad data-mount attribute (adom/wiki#289), which may be most of the input the derivation needs.
Examples
| Part | Mounting | Why |
|---|---|---|
| USB-C receptacle | mixed |
SMD signal pins plus through-hole shell legs |
| 0402 resistor | smd |
two surface pads |
| 2.54 mm pin header | tht |
every pin goes through a drilled hole |
Acceptance
- Component pages have a mounting field (
smd,tht,mixed). - It is filled automatically for components that have a footprint.
- A person can edit it.
- The API returns it.