Contact Us
Blog / How to Create a Centroid(Pick and Place) File Instantly?

How to Create a Centroid(Pick and Place) File Instantly?

Posted:02:07 PM September 20, 2022 writer: NextPCB

What Is a Centroid File?

Call it whatever you want, but a surface mount assembly machine needs a magic file to figure out where to place your components and how to position and orient them. We call it the Centroid File. So, what is a Centroid File and why is it important for your PCB assembly machine?

Usually surface mount components are placed on the PCB by automated equipment. One of the tools for quick programming of these machines is the Centroid File (aka Insertion, Pick-and-place or XY file).

Some EDA packages will automatically generate this Centroid File, some will not. Sometimes you may just need to modify the file, some assemblers can make minor modifications to the file, or create it for you for a small fee.

Ultimately, the Centroid File describes the location and orientation of all surface mount components on a PCB. The center point file includes:  the reference designator, Mid X/Mid Y, Layer and Rotation. The basic format of a center point file is a comma-separated (.csv) file with the data in the following order.

The Centroid File must contain the information below:

  • Designator - Component Reference Designator (e.g. C1, L2, R3)
  • Mid X/Mid Y - The X/Y coordinate of the component centroid. Recommended units: Metric(mm). 
  • Layer - Top / Bottom, the board side where the component should be placed. 
  • Rotation - The rotation of the component given in degrees. Positive values are counter clockwise.

Recommended File Format: .csv, .xls and .xlsx.

Below is a Sample Pick & Place File.

Sample Pick & Place File

How to Create a Centroid File from KiCad?

Step 1: Open the pcb_kicad file and go to file

Step 2: Fabrication outputs

Step 3: Footprint Position (.pos) File

Step 4: Generate File

How to Create a Centroid File from KiCad

In the new window, select the output directory for the file and click Generate File. This will generate the necessary pick and place files.

How to Create a Centroid File from KiCad

At last, you can bundle these with the other assembly files and upload them to the NextPCB PCBA quote.

How to Create a Centroid File from Altium?

Step 1: Open the .PCBDoc file

Step 2: Assembly

Step 3: Generates pick and place files

How to Create a Centroid File from Altium

Depending on your version of Altium, you may be able to select which columns to include in your pick and place file. At the very least, we need the Designator, x-y coordinates and the rotation. Other information can be omitted. Altium will generate the file in the same location as the PcbDoc file.

How to Create a Centroid File from Altium

Now you can upload these with the assembly file to the NextPCB PCBA order.

How to Create a Centroid File from Eagle?

Step 1: Open the board layout(.brd file)

Step 2: Navigate to File

Step 3: Click Export -> Mount SMD

How to Create a Centroid File from Eagle

Eagle will ask you where to save the separate top and bottom pick and place files consecutively. The .mnt file is for the top side and the .mnb file is for the bottom side. Package these with the other assembly files and you can upload these to the NextPCB order form.

How to Create a Centroid File from Sprint Layout?

There are 5 steps to output pick places from Sprint Layout software.

  1. 1.    Click the Option

  2. 2.    Then click the Components-Panel

  3. 3.    Click the Export

How to Create a Centroid File from Sprint Layout

4.      Select the Exported Data

5.      Click the Export

How to Create a Centroid File from Sprint Layout

 

Tag: Centroid File
  • PCB
    Prototype
  • PCB
    Assembly
  • SMD
    Stencil

Dimensions: (mm)

×

Quantity: (pcs)

5
5
10
15
20
25
30
40
50
75
100
120
150
200
250
300
350
400
450
500
600
700
800
900
1000
1500
2000
2500
3000
3500
4000
4500
5000
5500
6000
6500
7000
7500
8000
9000
10000

Other Quantities:(quantity*length*width is greater than 10㎡)

OK

Layers:

Thickness:

Quote now