app
Adom Footprint
Public Made by Adomby adom
KiCad footprint creator with layer HUD viewer and delivery to KiCad/Fusion 360
← Commit history
Publish 1.0.22
6 files changed
+27−3
Cargo.lock+1−1@@ -4,7 +4,7 @@ version = 4 [[package]] name = "adom-footprint"-version = "1.0.20"+version = "1.0.22" dependencies = [ "anyhow", "clap",
LED_TEST/LED_TEST-viewer.htmladded+1@@ -0,0 +1 @@+<!doctype html><html><head><meta charset="utf-8"><title>LED_TEST โ adom-footprint</title><style>body{margin:0;background:#0d1117;color:#e6edf3;font-family:-apple-system,sans-serif;min-height:100vh;display:flex;flex-direction:column}header{display:flex;align-items:center;gap:10px;padding:14px 22px;border-bottom:1px solid #222b38}.dot{width:10px;height:10px;border-radius:50%;background:#00e6dc;box-shadow:0 0 12px #00e6dc}.brand{font-weight:700}.brand span{color:#8b949e;font-weight:400}.wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:32px}.card{background:#11161f;border:1px solid #222b38;border-radius:14px;padding:22px 26px;max-width:min(92vw,720px)}.name{font-size:22px;font-weight:700}.meta{color:#8b949e;font-size:13px;margin-top:2px}.desc{color:#aeb6c2;font-size:13px;margin-top:6px}.svgbox{margin-top:16px;border:1px solid #222b38;border-radius:10px;background:#0d1117;overflow:hidden}.svgbox svg{display:block;width:100%;height:auto;max-height:64vh}footer{text-align:center;color:#5b6675;font-size:11px;padding:10px}</style></head><body><header><span class="dot"></span><span class="brand">adom-footprint <span>ยท PCB footprint viewer</span></span></header><div class="wrap"><div class="card"><div class="name">LED_TEST</div><div class="meta">2 pads</div><div class="svgbox"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-2.360 -1.610 4.510 3.220" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"></g><g class="adom-layer-fab"><rect x="-0.800" y="-0.400" width="1.600" height="0.800" fill="none" stroke="#6e7681" stroke-width="0.1"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="roundrect" data-size="0.800x0.800" data-mount="smd"><rect x="-1.150" y="-0.400" width="0.800" height="0.800" rx="0.200" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="roundrect" data-size="0.800x0.800" data-mount="smd"><rect x="0.350" y="-0.400" width="0.800" height="0.800" rx="0.200" 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="-1.360" y1="-0.610" x2="0.800" y2="-0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="-1.360" y1="0.610" x2="0.800" y2="0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="-1.360" y1="-0.610" x2="-1.360" y2="0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/></g><g class="adom-layer-padnum"><text x="-0.750" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.336" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="0.750" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.336" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text></g></svg></div></div></div><footer>rendered locally in Rust โ no KiCad, no service round-trip</footer></body></html>
LED_TEST/LED_TEST.kicad_modadded+22@@ -0,0 +1,22 @@+(footprint "LED_TEST"+ (version 20240108)+ (generator "adom-footprint")+ (layer "F.Cu")+ (attr smd)+ (fp_rect (start -0.8 -0.4) (end 0.8 0.4)+ (stroke (width 0.1) (type default)) (fill none) (layer "F.Fab"))+ (fp_line (start -1.36 -0.61) (end 0.8 -0.61)+ (stroke (width 0.12) (type default)) (layer "F.SilkS"))+ (fp_line (start -1.36 0.61) (end 0.8 0.61)+ (stroke (width 0.12) (type default)) (layer "F.SilkS"))+ (fp_line (start -1.36 -0.61) (end -1.36 0.61)+ (stroke (width 0.12) (type default)) (layer "F.SilkS"))+ (fp_text reference "REF**" (at 0 -1.4)+ (layer "F.SilkS") (effects (font (size 0.9 0.9) (thickness 0.14))))+ (fp_text value "LED_TEST" (at 0 1.4)+ (layer "F.Fab") (effects (font (size 0.9 0.9) (thickness 0.14))))+ (pad "1" smd roundrect (at -0.75 0) (size 0.8 0.8)+ (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))+ (pad "2" smd roundrect (at 0.75 0) (size 0.8 0.8)+ (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))+)
LED_TEST/LED_TEST.svgadded+1@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2.360 -1.610 4.510 3.220" preserveAspectRatio="xMidYMid meet"><g class="adom-layer-courtyard"></g><g class="adom-layer-fab"><rect x="-0.800" y="-0.400" width="1.600" height="0.800" fill="none" stroke="#6e7681" stroke-width="0.1"/></g><g class="adom-layer-copper"><g data-pad="1" data-shape="roundrect" data-size="0.800x0.800" data-mount="smd"><rect x="-1.150" y="-0.400" width="0.800" height="0.800" rx="0.200" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/></g><g data-pad="2" data-shape="roundrect" data-size="0.800x0.800" data-mount="smd"><rect x="0.350" y="-0.400" width="0.800" height="0.800" rx="0.200" 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="-1.360" y1="-0.610" x2="0.800" y2="-0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="-1.360" y1="0.610" x2="0.800" y2="0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="-1.360" y1="-0.610" x2="-1.360" y2="0.610" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/></g><g class="adom-layer-padnum"><text x="-0.750" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.336" fill="#fff" font-family="sans-serif" style="pointer-events:none">1</text><text x="0.750" y="0.000" text-anchor="middle" dominant-baseline="central" font-size="0.336" fill="#fff" font-family="sans-serif" style="pointer-events:none">2</text></g></svg>
bin/adom-footprint⋯ 1 unchanged line ⋯
page.json+2−2@@ -48,7 +48,7 @@ "send footprint to fusion", "kicad footprint for this chip" ],- "discovery_pitch": "Create, view and edit KiCad PCB footprints in a live layer viewer \u2014 auto-placed RefDes/Value, auto-generated heatsink vias, heatsink-aware solder paste, and one-click delivery to KiCad/Fusion/Altium/OrCAD.",+ "discovery_pitch": "Create, view and edit KiCad PCB footprints in a live layer viewer โ auto-placed RefDes/Value, auto-generated heatsink vias, heatsink-aware solder paste, and one-click delivery to KiCad/Fusion/Altium/OrCAD.", "sample_prompts": [ { "label": "Make a footprint",@@ -67,4 +67,4 @@ "prompt": "Auto-place the RefDes and Value clear of the pads and save it" } ]-}+}