gsch2pcb-rnd(1) | 1.8.2.20130925 | gsch2pcb-rnd(1) |
gsch2pcb-rnd - Update pcb-rnd layouts from gEDA/gaf schematics
gsch2pcb-rnd [OPTION ...] {PROJECT | FILE ...}
gsch2pcb-rnd is a frontend to gnetlist(1) which aids in creating and updating pcb-rnd(1) printed circuit board layouts based on a set of electronic schematics created with gschem(1).
Instead of specifying all options and input gEDA schematic FILEs on the command line, gsch2pcb-rnd can use a PROJECT file instead.
gsch2pcb-rnd first runs gnetlist(1) with the `PCB' backend to create a `<name>.net' file containing a pcb-rnd(1) formatted netlist for the design.
The second step is to run gnetlist(1) again with the `gsch2pcb-rnd' backend to find any M4(1) elements required by the schematics. Any missing elements are found by searching a set of file element directories. If no `<name>.pcb' file exists for the design yet, it is created with the required elements; otherwise, any new elements are output to a `<name>.new.pcb' file.
If a `<name>.pcb' file exists, it is searched for elements with a non-empty element name with no matching schematic symbol. These elements are removed from the `<name>.pcb' file, with a backup in a `<name>.pcb.bak' file.
Finally, gnetlist(1) is run a third time with the `pcbpins' backend to create a `<name>.cmd' file. This can be loaded into pcb-rnd(1) to rename all pin names in the PCB layout to match the schematic.
A gsch2pcb-rnd project file is a file (not ending in `.sch') containing a list of schematics to process and some options. Any long-form command line option can appear in the project file with the leading `--' removed, with the exception of `--gnetlist-arg', `--fix-elements', `--verbose', and `--version'. Schematics should be listed on a line beginning with `schematics'.
An example project file might look like:
schematics partA.sch partB.sch output-name design
See the `AUTHORS' file included with this program.
Copyright © 1999-2011 gEDA Contributors. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
September 25th, 2013 | gEDA Project |