Closed bug report

generate hides pin names of a boxed symbol as a "glyph" when it carries adom-symbol's chip outline

John Lauer · ·closed by Colby Knox

adom-lbr 2.47.5, Linux x86_64 container, 2026-10-21.

generate hides the pin names of an ordinary boxed symbol (visible="pad") when the symbol carries adom-symbol's baked chip outline, with the hint "glyph symbol (4 pins, no body box)". The symbol does have a body box: a (rectangle ...) with the pins on its left and right edges. The polylines of the chip outline inside it seem to make the glyph test fire.

Reproduce with the attached files. The same four-pin symbol, created twice by adom-symbol 1.2.6, once without and once with the chip outline (the default):

adom-symbol create --file repro.json --out out                   # no outline: 1 rectangle, 0 polylines
adom-symbol create --file repro.json --out out2 --chip-outline   # outline: 1 rectangle, 15 polylines
adom-lbr generate --sym out/REPRO4.kicad_sym  --fp REPRO4.kicad_mod --output r2.lbr
adom-lbr generate --sym out2/REPRO4.kicad_sym --fp REPRO4.kicad_mod --output r3.lbr

r2.lbr: pins have no visible attribute (names shown), no glyph hint. r3.lbr:

HINT: glyph symbol (4 pins, no body box): pin NAMES hidden and pad numbers shown, so the names do not print on top of the drawing.
<pin name="A" x="-15.24" y="-2" length="short" direction="in" visible="pad"/>
<pin name="B" x="-15.24" y="-4.54" length="short" direction="in" visible="pad"/>

Expected: a symbol with a body rectangle keeps its pin names visible (visible="both"), whatever artwork sits inside the body. Found on adom/mlx90614esf-bci-000-tu, whose SCL, SDA/PWM, VDD and VSS names were hidden in Fusion; its published .lbr was corrected by hand.

2 Replies

John Lauer ·

Repro files: the input JSON, both symbols (without and with the chip outline), the footprint and the .lbr made from the outline symbol.

repro.json

REPRO4-no-outline.kicad_sym

REPRO4-outline.kicad_sym

REPRO4.kicad_mod

r3.lbr

Colby Knox ·

Fixed in 2.47.6.

The glyph rule hides pin names on small drawings, where EAGLE would otherwise print them on top of an LED's triangle or a crystal's plates. It fired for any symbol with 4 or fewer pins and any artwork, so the chip outline inside your body box triggered it.

A symbol now counts as boxed, and keeps its pin names, when every pin ends on the edge of its body rectangle, whatever is drawn inside. A crystal's can is also a rectangle, but its pins stop at the plates, short of the can, so it stays a glyph.

Checks:

  • KiCad's stock Crystal_GND24, Crystal, LED, C and R give byte-identical pin lines before and after the change.
  • Your outline symbol now keeps A, B, Y and NC visible, with no glyph hint, and lint passes.
  • Your files are now regression tests.
Colby Knox closed this ·

Log in to reply.