1. | Set up directory structure | ||
---|---|---|---|
These instructions assume that you have set up a directory structure
as described in the
PCB Layout Tutorial.
A skeleton of this structure, along with
some
template files
and the build_panel program
is contained in the
pcb.zip
file.
If you have not set up this structure previously, you should
download and unpack this file before proceeding.
At this point you should have the following structure: pcb ; root directory of pcb related files |-- board1 ; design files for board1 | |-- TOP.art ; artwork for top layer | |-- BOTTOM.art ; artwork for bottom layer | `-- board1-1-2.drl ; drill file |-- board2 ; design files for board 2 |-- build_panel.exe ; the program for combining multiple boards into a single panel |-- frames ; directories containing board layout template files | |-- frame1x2 ; frame for one double size module | `-- frame2x1 ; frame for two single size modules | `-- holes.drl ; drill file for 2 x 1 frame |-- panel.txt ; control file for build_panel program `-- panel1 ; directory where pcb mill files will goThe filenames for the artwork and drill files are from the Cadence Allegro PCB layout program. If you have used different layout software, your files may have different names. | |||
2. | Assemble artwork and drill files | ||
The artwork and drill files for each board should be in a separate subdirectory of your pcb directory. In this example these directories are board1 and board2. | |||
3. | Create the control file | ||
The actions required to merge the boards into a panel are defined in a
control file. I.e. build_panel is a batch, rather than interactive program.
| |||
4. | Run build_panel | ||
build_panel is a command line program. To run it, open a command prompt window and change directory to your pcb directory. Type build_panel sample_panel.txt. If all goes will, it will do its job silently. If not, it will print error messages describing what it doesn't like. | |||
5. | Proceed to mill board | ||
The directory panel1 should now contain three files: top.gbr, bottom.gbr, and holes.drl. These are the files which define the merged panel. At this point you are ready for the Process Layout Files step of the Basic PCB Milling instructions. |