← Commit history

Regenerate fpview with footprint geometry for 0603SAF1502T5E

AravK ·a5b6e3116a ·4mo ago ·parent 967cb9d
1 file changed +22−9
0603SAF1502T5E-fpview.html+22−9
@@ -345,7 +345,18 @@  <div class="canvas-wrap" id="canvas-wrap">   <div class="canvas" id="canvas">-    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><text x="5" y="5" text-anchor="middle" font-size="1" fill="#888">No geometry</text></svg>+    <svg xmlns="http://www.w3.org/2000/svg" viewBox="-2.5 -1.75 5.0 3.5">+<rect x="-2.5" y="-1.75" width="5.0" height="3.5" fill="#0d1117"/>+<rect x="-1.5" y="-0.75" width="3.0" height="1.5" fill="none" stroke="#FF26E2" stroke-width="0.05" stroke-dasharray="0.2,0.1"/>+<rect x="-0.8" y="-0.4" width="1.6" height="0.8" fill="none" stroke="#6e7681" stroke-width="0.1"/>+<rect x="-0.92" y="-0.52" width="1.84" height="1.04" fill="none" stroke="#00cccc" stroke-width="0.12"/>+<line x1="-1.1" y1="-0.7" x2="-0.5" y2="-0.7" stroke="#00cccc" stroke-width="0.12"/>+<rect x="-1.25" y="-0.5" width="0.9" height="1.0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<text x="-0.8" y="0.0" text-anchor="middle" dominant-baseline="central" font-size="0.405" fill="#fff" font-family="sans-serif">1</text>+<rect x="0.35000000000000003" y="-0.5" width="0.9" height="1.0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<text x="0.8" y="0.0" text-anchor="middle" dominant-baseline="central" font-size="0.405" fill="#fff" font-family="sans-serif">2</text>+<text x="2.2" y="1.45" text-anchor="end" font-size="0.250" fill="#484f58" font-family="sans-serif" font-style="italic">Local render — KiCad service unavailable</text>+</svg>   </div>   <a class="edit-btn" href="https://coder.john-service-wiki-a054078430ce38e4.containers.adom.inc/proxy/8785/wiki/components/0603saf1502t5e/edit?field=content" target="_blank" title="Suggest corrections on Adom Wiki">     <svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">@@ -360,7 +371,9 @@  <div class="bottom-panel">   <div class="info-row">-    <div class="info-item"><span class="info-label">Pads</span><span class="info-value">0</span></div>+    +    +    <div class="info-item"><span class="info-label">Desc</span><span class="info-value">Royalohm · Thick Film Chip Resistor · General Purpose</span></div><div class="info-item"><span class="info-label">Pads</span><span class="info-value">2</span></div><div class="info-item"><span class="info-label">Body</span><span class="info-value">1.6 &times; 0.8 mm</span></div><div class="info-item"><span class="info-label">Courtyard</span><span class="info-value">3.0 &times; 1.5 mm</span></div>   </div>   <div class="info-divider"></div>   <div class="coord-row">@@ -369,13 +382,13 @@ </div>  <script>-  const pads = [];-  const svgW = 10;-  const svgH = 10;-  const svgVbX = 0;-  const svgVbY = 0;-  const offsetX = 0;-  const offsetY = 0;+  const pads = [{"number": "1", "signal": "", "x": -0.8, "y": 0.0, "width": 0.9, "height": 1.0, "shape": "roundrect", "mountType": "smd", "rotation": 0, "desc": ""}, {"number": "2", "signal": "", "x": 0.8, "y": 0.0, "width": 0.9, "height": 1.0, "shape": "roundrect", "mountType": "smd", "rotation": 0, "desc": ""}];+  const svgW = 5.0;+  const svgH = 3.5;+  const svgVbX = -2.5;+  const svgVbY = -1.75;+  const offsetX = 2.5;+  const offsetY = 1.75;   const datasheetUrl = "";   const _partName = "";   const _fpName = "0603SAF1502T5E";