← Commit history
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">WLCSP-9_1.21x1.22mm_Layout3x3_P0.4mm</span></header> <main> <div class="vpwrap"> <div class="av-vp" id="vp">- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.650 -1.650 3.300 3.300" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><polygon points="-0.8600,-0.8600 0.8600,-0.8600 0.8600,0.8600 -0.8600,0.8600" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-0.6050" y1="-0.3075" x2="-0.3025" y2="-0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="-0.6050" y1="0.6100" x2="-0.6050" y2="-0.3075" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="-0.3025" y1="-0.6100" x2="0.6050" y2="-0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="0.6050" y1="-0.6100" x2="0.6050" y2="0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="0.6050" y1="0.6100" x2="-0.6050" y2="0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/></g><g class="adom-layer-copper"><g data-pad="A1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="A2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="A3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="0.400" r="0.100" 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="-0.7600" y1="0.7600" x2="-0.7600" y2="-0.4350" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-0.4350" y1="-0.7600" x2="0.7600" y2="-0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="0.7600" y1="-0.7600" x2="0.7600" y2="0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="0.7600" y1="0.7600" x2="-0.7600" y2="0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><polygon points="-0.7600,-0.7600 -1.2600,-0.7600 -0.7600,-1.2600" stroke="#00cccc" stroke-width="0.120" fill="#00cccc"/></g><g class="adom-layer-padnum"></g><g class="adom-layer-paste-apertures"><rect x="-0.500" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.500" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.500" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 0.400)" 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="-0.400" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.400" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.400" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-1.760 -1.760 3.520 3.520" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><rect x="-1.6100" y="-1.6100" width="3.2200" height="3.2200" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-0.6050" y1="-0.3075" x2="-0.3025" y2="-0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="-0.6050" y1="0.6100" x2="-0.6050" y2="-0.3075" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="-0.3025" y1="-0.6100" x2="0.6050" y2="-0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="0.6050" y1="-0.6100" x2="0.6050" y2="0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><line x1="0.6050" y1="0.6100" x2="-0.6050" y2="0.6100" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/></g><g class="adom-layer-copper"><g data-pad="A1" data-num="A1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="A2" data-num="A2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="A3" data-num="A3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="-0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B1" data-num="B1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B2" data-num="B2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="B3" data-num="B3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="0.000" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C1" data-num="C1" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="-0.400" cy="0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C2" data-num="C2" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.000" cy="0.400" r="0.100" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="C3" data-num="C3" data-shape="circle" data-size="0.200x0.200" data-mount="smd"><circle cx="0.400" cy="0.400" r="0.100" 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="-0.7600" y1="0.7600" x2="-0.7600" y2="-0.4350" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-0.4350" y1="-0.7600" x2="0.7600" y2="-0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="0.7600" y1="-0.7600" x2="0.7600" y2="0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="0.7600" y1="0.7600" x2="-0.7600" y2="0.7600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><polygon points="-0.7600,-0.7600 -1.2600,-0.7600 -0.7600,-1.2600" stroke="#00cccc" stroke-width="0.120" fill="#00cccc"/></g><g class="adom-layer-padnum"></g><g class="adom-layer-paste-apertures"><rect x="-0.500" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="-0.500" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 -0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.500" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="-0.100" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 0.000)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.500" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 -0.400 0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="-0.100" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.000 0.400)" fill="none" stroke="#8aa0b8" stroke-width="0.03" stroke-dasharray="0.12 0.08" opacity="0.7"/><rect x="0.300" y="0.300" width="0.200" height="0.200" rx="0.05" transform="rotate(0.00 0.400 0.400)" 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="-0.400" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="-0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.400" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="0.000" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="-0.400" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.000" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/><circle cx="0.400" cy="0.400" r="0.150" fill="#37c8a6" opacity="0.92"/></g></svg> </div> </div> <aside>@@ -207,4 +207,4 @@ var META={"pasteApertures":9,"pasteDots":9}; 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>