logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pcb-rnd-svg - compare pcb-rnd svg renders

Decsription

pcb-rnd-svg  compares svg renders generated by pcb-rnd in a way that order of objects within the svg does
       not matter, only layering and geometry do. This is done by sorting group objects, assuming each object is
       a single line.

       Note: stored reference files are of format boardname.ref or boardname.ref.gz if they are compressed.

Name

       pcb-rnd-svg - compare pcb-rnd svg renders

Options

svg-sort
              reads a pcb-rnd generated svg on stdin, prints  sorted  svg:  objects  within  each  group  sorted
              alphabetically

       svg-diffs1s2
              sort  pcb-rnd  generated  svgs s1 and s2 and print diff s1 s2; result written to stdout in diff -u
              format

       diffb1b2
              run pcb-rnd to generate svgs of b1 and b2 and print their diff; result written to stdout  in  diff
              -u format. Boards can be of any format pcb-rnd can load.

       svg-vis-comps1s2
              generate  a  visual  comparison  of s1 and s2, diffs highlighted: - lines of the diff with blue, +
              lines with red in a new group, over the faded version of s1.

       vis-compb1b2
              generate a svg visual comparison of board files b1 and b2, diffs highlighted: - lines of the  diff
              with  blue, + lines with red in a new group, over the faded svg render of b1. Boards can be of any
              format pcb-rnd can load.

       testbrd
              run pcb-rnd on brd and compare the resulting svg to a  saved  sorted  svg  reference  file  called
              brd.ref

       test-alldir1[dir2dirN...]
              run test on all boards with a ref available under all directories listed, recursively.

       gen-refbrd1[brd2brdN...]
              generate the initial svg reference file for all board files named

                                                   2020-06-16                                     pcb-rnd-svg(1)

Synposis

pcb-rnd-svgcommand[args]

See Also