PM_K-1 hardware: register pm_k1 fp-lib (fix import errors) + white bg on SVGs

- hardware/kicad/fp-lib-table: project footprint-library table registering pm_k1 ->
  ${KIPRJMOD}/pm_k1.pretty, so opening the pm_k1_core project auto-resolves the custom
  TQ2SA relay + RV-8803-C7 footprints (fixes the 4 "footprint not found" import errors
  for K1/K2/K3/U13).
- schematics/*.svg: inserted a white background rect (netlistsvg renders dark strokes on
  a transparent bg -> invisible in dark-mode viewers).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Me Here 2026-05-31 17:57:10 -05:00
parent 39fe087b2c
commit 8cbd53a2ee
13 changed files with 16 additions and 12 deletions

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2778.7079999999996" height="1960.3320000000003"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2778.7079999999996" height="1960.3320000000003"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 356 KiB

After

Width:  |  Height:  |  Size: 357 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="733.5500000000001" height="472.572"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="733.5500000000001" height="472.572"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2105.9989999999993" height="1605.8439999999998"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2105.9989999999993" height="1605.8439999999998"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 173 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="591.6800000000001" height="516.456"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="591.6800000000001" height="516.456"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2447.622" height="1269.6440000000002"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="2447.622" height="1269.6440000000002"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="480.201" height="520.108"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="480.201" height="520.108"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="260.47900000000004" height="391.456"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="260.47900000000004" height="391.456"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="571.4359999999999" height="613.876"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="571.4359999999999" height="613.876"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="549.681" height="531.304"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="549.681" height="531.304"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="1207.571" height="680.304"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="1207.571" height="680.304"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="412.92400000000004" height="332.80400000000003"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="412.92400000000004" height="332.80400000000003"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="532.7560000000001" height="691.956"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:s="https://github.com/nturley/netlistsvg" width="532.7560000000001" height="691.956"><rect id="pm_k1-bg" x="0" y="0" width="100%" height="100%" fill="#ffffff"/>
<style>svg { <style>svg {
stroke: #000; stroke: #000;
fill: none; fill: none;

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -0,0 +1,4 @@
(fp_lib_table
(version 7)
(lib (name "pm_k1")(type "KiCad")(uri "${KIPRJMOD}/pm_k1.pretty")(options "")(descr "PM_K-1 custom footprints: TQ2SA relay + RV-8803-C7 RTC"))
)