← Commit history

mcp1804t-5002i-mb: footprint pads join the pin-hover bus with the symbol (5 pads)

Ray ·4a7aeaf8fb · ·parent 51c445a
1 file changed +3−3
viewers/footprint.html+3−3
@@ -51,13 +51,13 @@ aside .ah{padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px; .layers{padding:6px} .note{font-size:11px;color:var(--muted);line-height:1.45;padding:8px 11px} .note b{color:#7ef0d2}-</style></head>+</style><style>/* lbr-hover bus (component-factory inject_layers) */[data-num]{cursor:pointer}[data-num].hi>*{fill:#ffd166!important;stroke:#ffffff!important;stroke-width:0.08!important}</style></head> <body>   <header><span class="dot"></span><span class="b">adom-footprint <span>· interactive</span></span><span class="nm">Microchip_MCP1804_66567e</span></header>   <main>     <div class="vpwrap">       <div class="av-vp" id="vp">-        <svg xmlns="http://www.w3.org/2000/svg" viewBox="-3.675 -3.398 6.950 6.795" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><polygon points="-2.3800,-1.9900 -1.3900,-1.9900 -1.3900,-2.5000 1.5700,-2.5000 1.5700,-0.8500 2.0600,-0.8500 2.0600,-0.5300 2.3800,-0.5300 2.3800,0.5300 2.0600,0.5300 2.0600,0.8500 1.5700,0.8500 1.5700,2.5000 -1.3900,2.5000 -1.3900,1.9900 -2.3800,1.9900" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-1.133" y1="-2.248" x2="1.312" y2="-2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="1.312" y1="-2.248" x2="1.312" y2="2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="1.312" y1="2.248" x2="-1.133" y2="2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="-1.133" y1="2.248" x2="-1.133" y2="-2.248" stroke="#6e7681" stroke-width="0.1"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="rect" data-size="1.400x0.480" data-mount="smd"><rect x="-2.125" y="-1.740" width="1.400" height="0.480" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="rect" data-size="1.970x0.560" data-mount="smd"><rect x="-2.125" y="-0.280" width="1.970" height="0.560" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="rect" data-size="1.960x1.200" data-mount="smd"><rect x="-0.155" y="-0.600" width="1.960" height="1.200" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="rect" data-size="0.320x0.560" data-mount="smd"><rect x="1.805" y="-0.280" width="0.320" height="0.560" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-shape="rect" data-size="1.400x0.480" data-mount="smd"><rect x="-2.125" y="1.260" width="1.400" height="0.480" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g></g><g class="adom-layer-heatsink"></g><g class="adom-layer-drill"></g><g class="adom-layer-silk"><line x1="-2.525" y1="-1.740" x2="-2.525" y2="-1.260" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/></g><g class="adom-layer-padnum"><text x="-1.425" y="-1.500" text-anchor="middle" dominant-baseline="central" font-size="0.202" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="-1.140" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.235" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="0.825" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.504" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="1.965" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.134" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="-1.425" y="1.500" text-anchor="middle" dominant-baseline="central" font-size="0.202" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text></g><g class="adom-layer-paste-apertures"><rect x="-2.125" y="-1.740" width="1.400" height="0.480" rx="0.05" transform="rotate(0.00 -1.425 -1.500)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.125" y="-0.280" width="1.970" height="0.560" rx="0.05" transform="rotate(0.00 -1.140 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.155" y="-0.600" width="1.960" height="1.200" rx="0.05" transform="rotate(0.00 0.825 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.805" y="-0.280" width="0.320" height="0.560" rx="0.05" transform="rotate(0.00 1.965 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.125" y="1.260" width="1.400" height="0.480" rx="0.05" transform="rotate(0.00 -1.425 1.500)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/></g><g class="adom-layer-paste-dots"><circle cx="-1.800" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.550" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.300" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.050" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.890" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.640" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.390" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.140" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.890" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.640" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.390" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.965" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.800" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.550" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.300" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.050" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg>+        <svg xmlns="http://www.w3.org/2000/svg" viewBox="-3.675 -3.398 6.950 6.795" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><polygon points="-2.3800,-1.9900 -1.3900,-1.9900 -1.3900,-2.5000 1.5700,-2.5000 1.5700,-0.8500 2.0600,-0.8500 2.0600,-0.5300 2.3800,-0.5300 2.3800,0.5300 2.0600,0.5300 2.0600,0.8500 1.5700,0.8500 1.5700,2.5000 -1.3900,2.5000 -1.3900,1.9900 -2.3800,1.9900" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-1.133" y1="-2.248" x2="1.312" y2="-2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="1.312" y1="-2.248" x2="1.312" y2="2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="1.312" y1="2.248" x2="-1.133" y2="2.248" stroke="#6e7681" stroke-width="0.1"/><line x1="-1.133" y1="2.248" x2="-1.133" y2="-2.248" stroke="#6e7681" stroke-width="0.1"/></g><g class="adom-layer-copper"><g data-pad="1" data-num="1" data-shape="rect" data-size="1.400x0.480" data-mount="smd"><rect x="-2.125" y="-1.740" width="1.400" height="0.480" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-num="2" data-shape="rect" data-size="1.970x0.560" data-mount="smd"><rect x="-2.125" y="-0.280" width="1.970" height="0.560" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-num="2" data-shape="rect" data-size="1.960x1.200" data-mount="smd"><rect x="-0.155" y="-0.600" width="1.960" height="1.200" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-num="2" data-shape="rect" data-size="0.320x0.560" data-mount="smd"><rect x="1.805" y="-0.280" width="0.320" height="0.560" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-num="3" data-shape="rect" data-size="1.400x0.480" data-mount="smd"><rect x="-2.125" y="1.260" width="1.400" height="0.480" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g></g><g class="adom-layer-heatsink"></g><g class="adom-layer-drill"></g><g class="adom-layer-silk"><line x1="-2.525" y1="-1.740" x2="-2.525" y2="-1.260" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/></g><g class="adom-layer-padnum"><text x="-1.425" y="-1.500" text-anchor="middle" dominant-baseline="central" font-size="0.202" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="-1.140" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.235" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="0.825" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.504" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="1.965" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.134" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="-1.425" y="1.500" text-anchor="middle" dominant-baseline="central" font-size="0.202" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text></g><g class="adom-layer-paste-apertures"><rect x="-2.125" y="-1.740" width="1.400" height="0.480" rx="0.05" transform="rotate(0.00 -1.425 -1.500)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.125" y="-0.280" width="1.970" height="0.560" rx="0.05" transform="rotate(0.00 -1.140 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.155" y="-0.600" width="1.960" height="1.200" rx="0.05" transform="rotate(0.00 0.825 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="1.805" y="-0.280" width="0.320" height="0.560" rx="0.05" transform="rotate(0.00 1.965 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-2.125" y="1.260" width="1.400" height="0.480" rx="0.05" transform="rotate(0.00 -1.425 1.500)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/></g><g class="adom-layer-paste-dots"><circle cx="-1.800" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.550" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.300" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.050" cy="-1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.890" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.640" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.390" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.140" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.890" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.640" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.390" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.075" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.325" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.575" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.825" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.075" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.325" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="-0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="-0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="0.125" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.575" cy="0.375" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="1.965" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.800" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.550" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.300" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-1.050" cy="1.500" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg>       </div>     </div>     <aside>@@ -207,4 +207,4 @@ var META={"pasteApertures":5,"pasteDots":44};   AV.buildLayers({ svg:svg, container:document.getElementById('layers'), state:{}, meta:META }); })(); </script>-</body></html>+<script>/* lbr-hover bus (component-factory inject_layers) */(function(){var MPN=null;function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}function clearHi(){[].forEach.call(document.querySelectorAll('[data-num].hi'),function(e){e.classList.remove('hi');});}function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}[].forEach.call(document.querySelectorAll('[data-num]'),function(g){var n=g.getAttribute('data-num');g.addEventListener('mouseenter',function(){clearHi();hi(n);post(n);});g.addEventListener('mouseleave',function(){clearHi();post(null);});});window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});})();</script></body></html>