In Eagle, we usually find that the file format is often confusing when using the normal way to export BOM and Centroid files. To solve the problem, this article will introduce how to export correctly formatted BOM and Centroid files by using ULP.
First of all, download the ULP on your computer:
https://pcbwayfile.s3.us-west-2.amazonaws.com/msgfile/23/01/11/1457344260842.zip
Click ULP

Then find Browse...

Choose eagle_smt.ulp

Click Save and the Centroid file will be generated automatically.


The initial step to generate BOM file is similar to that for Centroid file.
Switch to the Schematics page, click ULP-> Browse...
But remember to choose eagle_bom.ulp this time.

Make sure to choose Values, CSV and ,
The output result is a BOM file in csv format.


Finished.