Interactive BOM For Eagle

Interactive BOM For Eagle

sdalling
Advocate Advocate
18,453 Views
46 Replies
Message 1 of 47

Interactive BOM For Eagle

sdalling
Advocate
Advocate

I ported the Interactive BOM plugin for KiCAD to EagleCAD.  A demo of the plugin working for KiCAD is here. I'm currently looking at getting some feedback on my port to EagleCAD.

 

To use the plugin, run the ibom.ulp within your board file. This will result in a 'pcbdata.json' file being generated. It will be placed in the same folder as your pcb file.

 

Copy this file to be in the same folder as the following files

1) ibom.html

2) index.css

3) index.js

 

Then double click on ibom.html to start the application. This will open your web browser with interact BOM being the focused window.

Its a little rough around the edges in some places, but im working on fixing those (support for rectangle types, bounding box on selected parts sizing). If there are issues feel free to leave comments here or to report errors on my fork of the project on github.

 

Reply
Reply
18,454 Views
46 Replies
Replies (46)
Message 41 of 47

shaische222
Advocate
Advocate

@sdalling I've been out of the loop for a while and just tried to follow your instructions in the latest reply, but I can't seem to bring any board up from your examples and your GitHub repository doesn't have any instructions that I could find. Can you provide updated instructions for using it? I see the code was just recently updated. I tried choosing my board and your eagle examples by clicking choose file on top left after you load the html file, but nothing happens. I tried both in safari and chrome.

Reply
Reply
0 Likes
Message 42 of 47

sdalling
Advocate
Advocate

Have a look at the release page on Github, this page has instruction for downloading the latest release, and how to use. I did find out

 

For reference,

  1. Download iPCB.zip and ipcb.ulp from Github release page.
  2. Extract contents of iPCB.zip to a folder.
  3. Run ipcb.ulp from EagleCAD.
  4. Select folder where generated JSON file should be placed. Needs to be folder used in 2.
  5. After running ipcb.ulp, double click html file to launch program.

I will focus on creating some examples and add better documentation in future.

Reply
Reply
0 Likes
Message 43 of 47

shaische222
Advocate
Advocate

Thanks for the quick reply. I seemed to have managed to open my board, but it's not highlighting any parts and the UI is a little buggy. For example, the debug only gets activated when I check it and then uncheck it. And the part list only shows up on the left when I click "show combined values". Same issue both in safari and chrome.

Reply
Reply
0 Likes
Message 44 of 47

sdalling
Advocate
Advocate

A change was made in V2.1 to adjust highlight behavior. Now you'll need to click a BOM entry in order to highlight the part compared to the original hover over BOM entry.

 

Debug is really meant more for troubleshooting bounding boxes. While it may work the intent was not for normal use by the user.

 

The part list not showing up sounds like an issue. Is there any error printed to the console? Also is the ULP being run from EagleCAD or from Fusion360 Electronic?

Reply
Reply
0 Likes
Message 45 of 47

shaische222
Advocate
Advocate
I did click the parts in the list and also noticed that all the values aren’t grouped together, even though they would be if I had done a traditional BOM ulp export. I’m exporting from Eagle CAD. Fusion 360 doesn’t have a ULP export option afaik.
Reply
Reply
0 Likes
Message 46 of 47

sdalling
Advocate
Advocate

Gotcha. the parts not combining by value is a known bug (Github Issue #46). There is going to be a fix for this but has required extensive backend work. Most of the recent commits have worked towards addressing this issue. At this time though there us no a per-release with the needed fixes. 

 

With the above bug, clicking a row in the BOM should highlight the elements represented by the row.

Reply
Reply
0 Likes
Message 47 of 47

vidhi3H5MX
Explorer
Explorer

step by step pdf  Please Sapot 

 

 

 

 

screenshot_671.png

Reply
Reply
0 Likes