1pcb-rnd-svg(1)                  pcb-rnd manual                  pcb-rnd-svg(1)
2
3
4

NAME

6       pcb-rnd-svg - compare pcb-rnd svg renders
7

SYNPOSIS

9       pcb-rnd-svg command [args]
10

DECSRIPTION

12       pcb-rnd-svg  compares  svg  renders  generated by pcb-rnd in a way that
13       order of objects within the svg does  not  matter,  only  layering  and
14       geometry  do.  This  is  done  by  sorting group objects, assuming each
15       object is a single line.
16
17       Note: stored reference files are  of  format  boardname.ref  or  board‐
18       name.ref.gz if they are compressed.
19

OPTIONS

21       svg-sort
22              reads  a  pcb-rnd  generated  svg  on  stdin, prints sorted svg:
23              objects within each group sorted alphabetically
24
25
26       svg-diff s1 s2
27              sort pcb-rnd generated svgs s1 and s2  and  print  diff  s1  s2;
28              result written to stdout in diff -u format
29
30
31       diff b1 b2
32              run  pcb-rnd to generate svgs of b1 and b2 and print their diff;
33              result written to stdout in diff -u format. Boards can be of any
34              format pcb-rnd can load.
35
36
37       svg-vis-comp s1 s2
38              generate  a visual comparison of s1 and s2, diffs highlighted: -
39              lines of the diff with blue, + lines with red in  a  new  group,
40              over the faded version of s1.
41
42
43       vis-comp b1 b2
44              generate a svg visual comparison of board files b1 and b2, diffs
45              highlighted: - lines of the diff with blue, + lines with red  in
46              a  new  group, over the faded svg render of b1. Boards can be of
47              any format pcb-rnd can load.
48
49
50       test brd
51              run pcb-rnd on brd and compare the  resulting  svg  to  a  saved
52              sorted svg reference file called brd.ref
53
54
55       test-all dir1 [dir2 dirN...]
56              run  test  on all boards with a ref available under all directo‐
57              ries listed, recursively.
58
59
60       gen-ref brd1 [brd2 brdN...]
61              generate the initial svg reference  file  for  all  board  files
62              named
63
64                                  2020-06-16                    pcb-rnd-svg(1)
Impressum