← Commit history

skill: <adom-states>

John Lauer ·c0afc96ac9 ·13d ago ·parent e5358fa
2 files changed +22
SKILL.md+11
@@ -51,6 +51,17 @@ is the mm pad center (footprint frame, +y up); with real `xy` it lays out from t true footprint, otherwise it infers a quad/dual package from `package`. Attributes: `layout="auto|quad|dual"`, `heading`. Public method `highlight(n)`; emits `pinhover`. +### `<adom-states>`: a component's visible states (an LED off and lit)+One 3D model per state, a picture of each, a toggle, when each state applies, and each state's STEP and GLB.+Fed by the page's `states.json` (schema `adom/component-states@1`; the full standard is in the wiki-component+skill, "Component states"). Every LED page carries it; the probing simulator (adom-aiflow-probing `states`)+reads the same file to show each LED off or lit in every planned test.+```+::adom-states{src="/OWNER/SLUG/render/states.json"}+```+Attributes: `src`, `state` (which state opens; default = the file's `default`), `heading`. Emits `statechange`.+Reference page: adom/in-s63btg (`## States`).+ ### `<adom-heatsink-via>`: exposed-pad thermal vias · new The recommended thermal-via array under the exposed pad (count, drill, pitch). **Only renders when the part has an exposed pad**, otherwise an empty state.
skills/component-widgets/SKILL.md+11
@@ -51,6 +51,17 @@ is the mm pad center (footprint frame, +y up); with real `xy` it lays out from t true footprint, otherwise it infers a quad/dual package from `package`. Attributes: `layout="auto|quad|dual"`, `heading`. Public method `highlight(n)`; emits `pinhover`. +### `<adom-states>`: a component's visible states (an LED off and lit)+One 3D model per state, a picture of each, a toggle, when each state applies, and each state's STEP and GLB.+Fed by the page's `states.json` (schema `adom/component-states@1`; the full standard is in the wiki-component+skill, "Component states"). Every LED page carries it; the probing simulator (adom-aiflow-probing `states`)+reads the same file to show each LED off or lit in every planned test.+```+::adom-states{src="/OWNER/SLUG/render/states.json"}+```+Attributes: `src`, `state` (which state opens; default = the file's `default`), `heading`. Emits `statechange`.+Reference page: adom/in-s63btg (`## States`).+ ### `<adom-heatsink-via>`: exposed-pad thermal vias · new The recommended thermal-via array under the exposed pad (count, drill, pitch). **Only renders when the part has an exposed pad**, otherwise an empty state.