Adom Symbol
Public Made by Adomby adom
KiCad symbol creator with interactive viewer and delivery to KiCad/Fusion 360
embed viewer does not speak the lbr-hover bus (symbol and footprint no longer cross-highlight)
adom-symbol embed produces a symbol viewer that does not speak the lbr-hover bus that adom-lbr's footprint and 3D viewers (and the component widgets) use. On a component page, hovering a symbol pin no longer lights the footprint pad, and hovering a pad does not light the symbol pin.
Seen on adom/tps54202ddcr after replacing viewers/symbol.html with adom-symbol embed --file tps54202ddcr.kicad_sym.
Expected (the contract the footprint viewer uses):
- on pin enter:
parent.postMessage({type:'lbr-hover', pin:'<number>', mpn}, '*'); on leave:pin:null - on
messagewithtype:'lbr-hover': highlight the pin with that number, or clear on null
Workaround applied on that page: in the buildPinHits callbacks, post on enter/leave, plus a message listener that calls highlightPin (about 8 lines). Tested both directions against the footprint viewer in a relay harness.
0 Replies
Log in to reply.