Generating Fabrication Data files from KiCad 7

Follow this procedure to generate Gerber and Drill files from Kicad 7 for import into Macaos Enterprise.

  1. Open the project in the PCB Editor (pcbnew).
  2. Use the Place|Drill/Place File Origin command to place the origin at the lower left corner of the board's bounding rectangle. (In other words, the origin should be at the X coordinate of the left edge and the Y coordinate of the bottom edge.)
  3. Generate Gerber files
    1. Choose the File|Fabrication Outputs|Gerbers (.gbr)... command.
    2. In the Plot dialog box, set the Plot format, General Options, and Gerber Options as shown:Kicad Plot dialog box
      Note: If your board has less than 2 copper layers, do not set a check mark by Generate Gerber job file. The Kicad board properties dialog does not specifically support 0 or 1-layer stackups, and importing the Gerber job file will prevent you from choosing the correct stackup.
    3. Check that all appropriate layers are selected in the Include layers list. The default selections are usually correct.
    4. Click on the Plot button to generate the Gerber files.
  4. Generate drill files
    1. Click on the Generate Drill Files... button to open the Generate Drill Files dialog box.
    2. Set the Drill File Format, Drill Origin, and Zeros Format as shown:Drill plotting options
    3. Click on the Generate Drill File button to generate the drill file(s). It is not necessary to generate a map file or a report file.
    4. Click on the Close button to close the Generate Drill Files dialog box, and again on the Close button to close the Plot dialog box.
  5. Generate component placement data
    In addition to component positions (Pick and Place data), the component layers include key pin positions and component outlines. This information is used in the Macaos Enterprise Assembly Data Manager (ADM) module, as well as to generate assembly drawings for fabrication.
    1. Choose the File|Fabrication Outputs|Component Placement (.pos)... command.
    2. Set the Format and other options as shown:Placement file generation options
    3. Click on the Generate Position File button to generate the component layer(s), and then the Close button to close the dialog box.
  6. Generate test point data
    Choose the File|Fabrication Outputs|IPC-D-356 Netlist File... command, and save the file.
  7. Generate BOM data
    A BOM should have as much specific, unambiguous information as possible. This helps prevent misunderstandings and leads to quicker response time for quotations and for manufacturing. Ideally, every component should have a complete manufacturer part number (MPN), even when alternates are suitable.
    1. Open the schematic editor.
    2. Choose the Tools|Edit symbol fields command to open the Symbol Fields Table editor.
    3. You should at least have the following fields: Reference, Value, Footprint, Manufacturer, and MPN. More fields may also be added, such as Mount [TH,SMD], DNP (do not place), or Additional Info.
    4. Remove the check mark from Group symbols
    5. Fill in empty cells, as necessary.
    6. Click on the Export as CSV button, and save the file.
  8. Pack all of the files generated in steps 3-7 in a zip file (e.g. Send to|Compressed (zipped) folder in Windows Explorer).
  9. Open the zip file in Macaos Enterprise Import.
    1. The Gerber files should automatically link.
    2. Link the drill file(s) to the appropriate drill depths.
    3. Link the [projectname]-pnp-top.gbr file to the Additional Layers|Component Top layer, and the [projectname]-pnp-bottom.gbr file (if any) to the Additional Layers|Component Bottom layer.
    4. Link the [projectname].d356 file to IPC-D-356 Netlist.
    5. Link the [projectname].csv file to Parts List (BOM).
  10. Check the stackup, surface finish, mask colors, and product identification, and modify as necessary.

Note: If you have suggestions for updating this information, please send them to us at support@macaos.com.