8.1.1 Example Design Conversion Process

For the purposes of this example we will be looking at a fictional PCB that has layers split over two aperture files.

1. Open the aperture file #1 for the MACPC layout in Notepad, you should see a text file containing one or more copies similar to the following:-

<<<<<<<< APERTURE TABLE For PCB 1000 G-comps : Tool# 5   >>>>>>>>>>>>>>>>


<<<<<<<< Created: 11/13/1995 @ 12:5:6 >>>>>>>>>>>>>>>>


<<<<<<<< Unlisted Apertures have OV and OH dimensions, and are not used >>>>>>>>>>>>

<<<<<<<< APERTURES 1000 = 1.0 inches >>>>>>>>>>>>>>>>

D10 10H 10V Round -Draw-
D11 16H 16V Round
-Draw-
D12
5H 5V Round
-Draw-
D13 8H 8V Round
-Draw-
D14
60H 60V Round
*Flash*
D15
72H 72V Round
*Flash*
D16
15H 15V Round
-Draw-
D17
12H 12V Round
-Draw-
D18
20H 20V Round
-Draw-
D19
50H 50V Round
*Flash*
D20
62H 62V Round
*Flash*
D21
40H 40V Round
-Draw-
D22
60H 60V Square *Flash*
D23
72H 72V Square *Flash*
D24
60H 60V Round
-Draw-
D25
44H 37V Rect *Flash*
D26
70H 40V Oval *Flash*
D27
82H 52V Oval
*Flash*
D28
60H 40V Oval
*Flash*
D29
72H 52V Oval
*Flash*
D30
37H 100V Rect *Flash*
D31
52H 116V Rect
*Flash*
D32
100H 37V Rect
*Flash*
D77
96H 52V Rect
*Flash*
<<<<  END APERTURE LISTING FOR THIS TOOL >>>>>

2. Copy all the Tool # “set” entries into Excel and verify that they contain identical information. Assuming that the information matches delete all but one “set”, this will be used for all the layers associated with the aperture file.

3. In Excel delete everything except the “D” code information to leave the following:-

D10 10H 10V Round -Draw-
D11 16H 16V Round
-Draw-
D12 5H 5V Round
-Draw-
D13 8H 8V Round
-Draw-
D14
60H 60V Round
*Flash*
D15 72H 72V Round
*Flash*
D16
15H 15V Round
-Draw-
D17
12H 12V Round
-Draw-
D18
20H 20V Round
-Draw-
D19
50H 50V Round
*Flash*
D20
62H 62V Round
*Flash*
D21
40H 40V Round
-Draw-
D22
60H 60V Square *Flash*
D23
72H 72V Square
*Flash*
D24
60H 60V Round -Draw-
D25
44H 37V Rect *Flash*
D26
70H 40V Oval *Flash*
D27
82H 52V Oval
*Flash*
D28
60H 40V Oval
*Flash*
D29
72H 52V Oval
*Flash*
D30
37H 100V Rect *Flash*
D31
52H 116V Rect
*Flash*
D32
100H 37V Rect
*Flash*
D77
96H 52V Rect
*Flash*

4. It is now necessary to modify the contents of the Excel file to suit Designer as per the following:-

  1. Remove the column containing the “flash” & “draw” entries.
  2. Sort the remaining data so that the entries are listed by pad shape i.e. Oval, Rect etc.
  3. From the sorted data delete either the “H” or “V” (NOT both) column from the Round and Square D codes ONLY (Designer expects a single dimension for round & square pads).
  4. Edit the “D??” entries to remove the “D” and leave just two digits.
  5. Edit the “??H” entries to remove the “H” and leave just digits.
  6. Edit the “??V” entries to remove the “H” and leave just digits.
  7. Move the pad shape column from the Round and Square D codes so that the first three columns are populated in the spreadsheet.
  8. You should now have the following:-
26 70 40 Oval
27 82 52 Oval
28 60 40 Oval
29 72 52 Oval
30 37 100 Rect
31 52 116 Rect
32 100 37 Rect
77 96 52 Rect
25 44 37 Rect
10 10 Round
11 16 Round

12 5 Round

13 8 Round

14 60 Round

15 72 Round

16 15 Round

17 12 Round

18 20 Round

19 50 Round

20 62 Round

21 40 Round

24 60 Round

22 60 Square
23 72 Square

Note:- it is not necessary to re-order the D code numbers as Designer will import them correctly irrespective of their numerical order.

5. Using the Aper.lst file as a template make a copy called Aper 1.lst.

6. Open Aper 1.lst with Notepad and copy the entries from the Excel file into it and the result should be as follows:-


CAMtasticDXP Aperture List

Serial Number:  0000-00-00000


Format:  3.4

Zero Suppression:  Leading

Type:  Absolute

UNITS: English (In.)


DCODE:                         TYPE:                                   DIMENSIONS                                         ROTATE:

26 70 40 Oval
27 82 52 Oval
28 60 40 Oval
29 72 52 Oval
30 37 100 Rect
31 52 116 Rect
32 100 37 Rect
77 96 52 Rect
25 44 37 Rect
10 10 Round
11 16 Round

12 5 Round

13 8 Round

14 60 Round

15 72 Round

16 15 Round

17 12 Round

18 20 Round

19 50 Round

20 62 Round

21 40 Round

24 60 Round

22 60 Square
23 72 Square

7. Repeat steps 1-6 for the second aperture file.

8. You are now ready to import the layout into Designer but as two aperture files are in use it will be necessary to use two Camtastic files and then combine them.

Open a new Camtastic file and select File – Import – Gerber then select all the individual layers associated with the first aperture file. At this stage don’t specify the aperture file, the import process will display a “Found Unidentified Apertures” window, select Cancel and then Cancel again on the Edit Apertures window.

9. To apply the apertures select File – Import – Aperture File (Using Wizard Formats).

10. The Open Aperture File window, select MACPC from the Existing Wizards Format drop down box and browse to the first aperture file (“Aper 1.LST”) and then select OK. Then select Yes when asked to empty existing apertures.

11. If the conversion has worked correctly you will now have a number of layers with correct pad shapes shown. Usually the importation results in the PCB being shown upside down.

12. Repeat steps 8 – 11 for the second set of layers & aperture file and save the Camtastic file when complete.

13. In each of the Camtastic files select File – Export – Gerber and ensure that the format is specified as RS-274-X. Once complete you will have converted all the files to the latest Gerber format with the aperture details embedded in the files as opposed to having a separate aperture file.

14. Open a new Camtastic file and select File – Import – Gerber, from the new widow select all the Gerber files that were produced from the export process of both Camtastic files. If the PCB is upside down use the following steps to rotate the image :-

  1. Select Edit – Rotate.
  2. Left click at the bottom left of the image, drag the window and then left click at the top right.
  3. Right click to finalise the selection.
  4. Left click the middle of the image (location not critical) to provide a reference point for the rotation.
  5. Enter the angle of rotation required (180 degrees).