pcb-rnd-svg(1)
π NAME π
pcb-rnd-svg β the little tool that compares your pcb-rnd svg renders π
π¦ SYNPOSIS π¦
pcb-rnd-svg command [args]
β¨ DECSRIPTION β¨
okay so pcb-rnd-svg compares svg renders that pcb-rnd generated, and the way it does it is genuinely so smart: the order of objects inside the svg does not matter at all, only the layering and the geometry do. that's the whole vibe check π
how does it pull that off? it sorts the group objects, assuming each object is a single line. slay.
note bestie π«Ά the stored reference files are in the formatboardname.ref, orboardname.ref.gzif they're compressed.
πΈ OPTIONS πΈ
svg-sortβ reads a pcb-rnd generated svg on stdin and prints the sorted svg: objects within each group sorted alphabetically β¨svg-diff s1 s2β sorts the pcb-rnd generated svgss1ands2, then prints the diffs1 s2; the result goes to stdout indiff -uformat πdiff b1 b2β runs pcb-rnd to generate svgs ofb1andb2and prints their diff; result goes to stdout indiff -uformat. boards can be any format pcb-rnd can load πsvg-vis-comp s1 s2β makes a visual comparison ofs1ands2with the diffs highlighted: the-lines of the diff in blue, the+lines in red, in a new group, sitting over the faded version ofs1πvis-comp b1 b2β makes an svg visual comparison of the board filesb1andb2, diffs highlighted: the-lines of the diff in blue, the+lines in red, in a new group, over the faded svg render ofb1. boards can be any format pcb-rnd can load πtest brdβ runs pcb-rnd onbrdand compares the resulting svg to a saved sorted svg reference file calledbrd.refπtest-all dir1 [dir2 dirN...]β runsteston every board that has a ref available under all the directories listed, recursively π₯gen-ref brd1 [brd2 brdN...]β generate the initial svg reference file for all board files named
and that's the whole page, bestie π this one lives in the pcb-rnd manual, it's pcb-rnd-svg(1), and it's dated 2020-06-16. go forth and diff your svgs, you absolute icon πβ¨
π¦ where this page comes from
- debian bookworm: pcb-rnd-export 3.0.6-1 Β· GPL-2.0-or-later
- debian trixie: pcb-rnd-export 3.1.6-1 Β· GPL-2.0-or-later
- ubuntu jammy: pcb-rnd-export 3.0.3-1 Β· GPL-2.0-or-later
- ubuntu noble: pcb-rnd-export 3.1.4-2 Β· GPL-2.0-or-later
- ubuntu questing: pcb-rnd-export 3.1.7b-2
- ubuntu resolute: pcb-rnd-export 3.1.7b-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: pcb-rnd-export 3.1.8-1 Β· GPL-2.0-or-later
- Copyright (C) 2016 Tibor 'Igor2' Palinkas
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms