← Commit history
wgu4n60se: one-pass backfill (courtyard 19.82 -> 19.89 mm2 (margin 0.25, default), citation: ok)
2 files changed
+9−13
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">TO-251-3_Vertical</span></header> <main> <div class="vpwrap"> <div class="av-vp" id="vp">- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-2.009 -2.050 8.597 4.100" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><rect x="-1.2500" y="-1.5200" width="7.0800" height="2.8000" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-1.0000" y1="-0.7700" x2="5.5800" y2="-0.7700" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><rect x="-1.0000" y="-1.2700" width="6.5800" height="2.3000" stroke="#6e7681" stroke-width="0.100" fill="none"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="rect" data-size="1.718x1.800" data-mount="thru_hole"><rect x="-0.859" y="-0.900" width="1.718" height="1.800" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="oval" data-size="1.718x1.800" data-mount="thru_hole"><rect x="1.431" y="-0.900" width="1.718" height="1.800" rx="0.859" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-shape="oval" data-size="1.718x1.800" data-mount="thru_hole"><rect x="3.721" y="-0.900" width="1.718" height="1.800" rx="0.859" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g></g><g class="adom-layer-heatsink"></g><g class="adom-layer-drill"><circle cx="0.000" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/><circle cx="2.290" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/><circle cx="4.580" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/></g><g class="adom-layer-silk"><line x1="-1.1100" y1="-1.3800" x2="5.6900" y2="-1.3800" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-1.1100" y1="-1.1600" x2="-1.1100" y2="-1.3800" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="1.1710" y1="1.1400" x2="1.1190" y2="1.1400" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="3.4090" y1="-0.7700" x2="3.4610" y2="-0.7700" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="5.6900" y1="-1.3800" x2="5.6900" y2="-1.1600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/></g><g class="adom-layer-padnum"><text x="0.000" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="2.290" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="4.580" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text></g><g class="adom-layer-paste-apertures"></g><g class="adom-layer-paste-dots"></g></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-2.009 -2.050 8.597 4.100" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"><polygon points="-1.2500,-1.5300 5.8300,-1.5300 5.8300,1.2800 -1.2500,1.2800" stroke="#FF26E2" stroke-width="0.050" fill="none"/></g><g class="adom-layer-fab"><line x1="-1.0000" y1="-0.7700" x2="5.5800" y2="-0.7700" stroke="#6e7681" stroke-width="0.100" stroke-linecap="round" fill="none"/><rect x="-1.0000" y="-1.2700" width="6.5800" height="2.3000" stroke="#6e7681" stroke-width="0.100" fill="none"/></g><g class="adom-layer-copper"><g data-pad="1" data-num="1" data-shape="rect" data-size="1.718x1.800" data-mount="thru_hole"><rect x="-0.859" y="-0.900" width="1.718" height="1.800" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-num="2" data-shape="oval" data-size="1.718x1.800" data-mount="thru_hole"><rect x="1.431" y="-0.900" width="1.718" height="1.800" rx="0.859" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="3" data-num="3" data-shape="oval" data-size="1.718x1.800" data-mount="thru_hole"><rect x="3.721" y="-0.900" width="1.718" height="1.800" rx="0.859" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g></g><g class="adom-layer-heatsink"></g><g class="adom-layer-drill"><circle cx="0.000" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/><circle cx="2.290" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/><circle cx="4.580" cy="0.000" r="0.550" fill="#0d1117" stroke="#666" stroke-width="0.05"/></g><g class="adom-layer-silk"><line x1="-1.1100" y1="-1.3800" x2="5.6900" y2="-1.3800" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="-1.1100" y1="-1.1600" x2="-1.1100" y2="-1.3800" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="1.1710" y1="1.1400" x2="1.1190" y2="1.1400" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="3.4090" y1="-0.7700" x2="3.4610" y2="-0.7700" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/><line x1="5.6900" y1="-1.3800" x2="5.6900" y2="-1.1600" stroke="#00cccc" stroke-width="0.120" stroke-linecap="round" fill="none"/></g><g class="adom-layer-padnum"><text x="0.000" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="2.290" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text><text x="4.580" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.721" fill="#fff" font-family="sans-serif" style="pointer-events:none">3</text></g><g class="adom-layer-paste-apertures"></g><g class="adom-layer-paste-dots"></g></svg> </div> </div> <aside>@@ -207,4 +207,4 @@ var META={"pasteApertures":0,"pasteDots":0}; 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>
wgu4n60se.kicad_mod+6−10@@ -82,16 +82,6 @@ ) (layer "F.SilkS") )- (fp_rect- (start -1.25 -1.52)- (end 5.83 1.28)- (stroke- (width 0.05)- (type solid)- )- (fill no)- (layer "F.CrtYd")- ) (fp_line (start -1 -0.77) (end 5.58 -0.77)@@ -154,4 +144,10 @@ (xyz 0 0 0) ) )+ (fp_poly+ (pts (xy -1.25 -1.53) (xy 5.83 -1.53) (xy 5.83 1.28) (xy -1.25 1.28))+ (stroke (width 0.05) (type solid))+ (fill no)+ (layer "F.CrtYd")+ ) )