Author Topic: Interactive Html Bom Plugin  (Read 13450 times)

0 Members and 1 Guest are viewing this topic.

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Interactive Html Bom Plugin
« on: July 25, 2018, 12:07:19 pm »
Hi all,

I just released first beta for my plugin. I find it super handy for building prototypes.

Instead of describing what it does and how is it different from all the other BOM plugins I better show a nice demo.

And here is the github repo.

More demos, download link, install and usage instructions are on github.

Try it out and let me know if you find it useful. If you find bugs please report them, if you would like to see some features discuss below.

Thanks!
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 
The following users thanked this post: firewalker, kripton2035, Zucca, dino7, 2N3055, mac.6, Caio Negri, SparkyFX

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: Interactive Html Bom Plugin
« Reply #1 on: July 25, 2018, 02:46:27 pm »
Nice!
Become a realist, stay a dreamer.

 
The following users thanked this post: Microcheap

Offline rachaelp

  • Supporter
  • ****
  • Posts: 156
  • Country: gb
Re: Interactive Html Bom Plugin
« Reply #2 on: July 25, 2018, 02:48:44 pm »
I'm not a KiCAD user but if I was I would 100% want to use this plugin. Nice job  :-+

Best Regards,

Rachael
I have a weakness for Test Equipment so can often be found having a TEA break (https://www.eevblog.com/forum/chat/test-equipment-anonymous-(tea)-group-therapy-thread/)
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: Interactive Html Bom Plugin
« Reply #3 on: July 25, 2018, 09:28:15 pm »
Hi all,

I just released first beta for my plugin. I find it super handy for building prototypes.

Instead of describing what it does and how is it different from all the other BOM plugins I better show a nice demo.

And here is the github repo.

More demos, download link, install and usage instructions are on github.

Try it out and let me know if you find it useful. If you find bugs please report them, if you would like to see some features discuss below.

Thanks!

VERY cool. I'll try it tonight.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2265
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #4 on: July 27, 2018, 04:42:32 am »
Nice.  I wrote a custom BOM generator that groups components by their designator, value, top/bot, and footprint so I get separate sections for R 0402, R 0603, C 1206, C 0402, etc sorted by value.  Separate sheets for the two sides.  This is how I store my components, so lets me place parts one case at a time and reflow one side, then place the other and reflow that by simply going down the sheet.  The code is super ghetto so I'm not going to post it, but it's a useful feature. :)

Oh, and I output csv and import that to a google sheet on gdrive in case I want to make additional rearrangements or remove parts I'm not populating.
« Last Edit: July 27, 2018, 04:44:14 am by bson »
 

Offline Warhawk

  • Frequent Contributor
  • **
  • Posts: 819
  • Country: 00
    • Personal resume
Re: Interactive Html Bom Plugin
« Reply #5 on: August 05, 2018, 03:50:15 pm »
I like it a lot. Please consider paypal "buy me a beer" donation. I would be in.

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #6 on: August 05, 2018, 09:49:42 pm »
I appreciate the thought but I don't drink beer and also do well for myself :)
You can donate that amount to your local charity in my name, if you wish.
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 
The following users thanked this post: Warhawk

Offline Warhawk

  • Frequent Contributor
  • **
  • Posts: 819
  • Country: 00
    • Personal resume
Re: Interactive Html Bom Plugin
« Reply #7 on: August 06, 2018, 01:09:45 pm »
I hope you stay motivated :-+. I've just given dionation to KiCad developers. 8)
Thank you one more time for the excellent plugin.

Offline Kibi

  • Supporter
  • ****
  • Posts: 385
  • Country: england
Re: Interactive Html Bom Plugin
« Reply #8 on: August 12, 2018, 07:26:02 pm »
This is very nice. Please keep up the good work!  :)
 

Offline ehughes

  • Frequent Contributor
  • **
  • Posts: 409
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #9 on: August 24, 2018, 02:09:36 pm »
I have been wanting something like this in Altium.    Great Job
 

Offline mdszy

  • Supporter
  • ****
  • Posts: 291
  • Country: us
  • somehow has an ee degree
    • szy.io
Re: Interactive Html Bom Plugin
« Reply #10 on: August 24, 2018, 02:22:02 pm »
Wow, this is really well made! Great work!
somehow allowed to be a Pixie Wrangler in Training
eBay Store | My site | Hackaday.io Projects | my mastodon.technology profile
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3781
  • Country: de
Re: Interactive Html Bom Plugin
« Reply #11 on: August 24, 2018, 02:39:08 pm »
Jeeze, I have been looking for something like that for a long time!

Well done!  :-+
 

Offline LapTop006

  • Supporter
  • ****
  • Posts: 467
  • Country: au
Re: Interactive Html Bom Plugin
« Reply #12 on: September 11, 2018, 01:38:46 pm »
Finally gave it a try tonight, awesome.
 

Online lutkeveld

  • Regular Contributor
  • *
  • Posts: 126
  • Country: nl
Re: Interactive Html Bom Plugin
« Reply #13 on: September 25, 2018, 10:06:35 am »
Has anyone had any success installing this amazing plugin on Windows? Can not get it to work on Kicad 5.
 

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #14 on: September 25, 2018, 10:14:04 am »
I develop and use it on Windows.
Describe in more detail how exactly it doesn't work and I may be able to help. Does the button appear? Does tools->external plugins entry appear? Does it run but not produce anything? Did you try running it from scripting console as described in instructions on github?
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 

Online lutkeveld

  • Regular Contributor
  • *
  • Posts: 126
  • Country: nl
Re: Interactive Html Bom Plugin
« Reply #15 on: September 26, 2018, 09:55:47 am »
The button does not appear, just like tools->external plugins.
After some googling this seems to be caused by "KICAD_SCRIPTING_ACTION_MENU" being disabled, but I can not find how to enable it.

I entered this command
C:\Program Files\KiCad\bin\python.exe C:\InteractiveHtmlBom-master\InteractiveHtmlBom\generate_interactive_bom.py C:\Users\pathtokicadpcbfile

Please mind that I have no experience whatsoever with Python, so I could easily be doing something wrong in the python shell (scripting console).
I just enter this command and hit enter, but I get a syntax error.

 

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #16 on: September 26, 2018, 05:49:55 pm »
And the error is... ?

KICAD_SCRIPTING_ACTION_MENU option is a compile time flag, if you don't know how to compile KiCad from sources you won't be able to change it.
To check if you have it on or off you can go to Help->About kicad->Show version info
Actually just paste the output of that window here.

Also where exactly did you put the plugin folder? If you have KiCad installed in program files I recommend putting plugins in %APPDATA% folder (see instructions on github) because program files are not writeable by default.
Copy paste this in address bar of explorer
%APPDATA%/kicad/scripting/plugins
after pressing enter you will be in right folder, copy plugin directory there. If you have latest version of plugin you can copy the whole repository folder, otherwise copy just InteractiveHtmlBom subdirectory.
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 

Offline kerrsmith

  • Regular Contributor
  • *
  • Posts: 77
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #17 on: September 26, 2018, 06:11:44 pm »
Just a second thing to check - have you made sure you are using the InteractiveHtmlBom directory found in the zip file when placing it in the required location. If you just use the complete directory of the zip file the button will not appear.

You need to extract the zip file and then open the directory InteractiveHtmlBom-master and use the InteractiveHtmlBom folder found inside, this is what needs to be placed in the Kicad folder (C:\Users\USERNAME\AppData\Roaming\kicad\scripting\plugins for example).
 

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #18 on: September 26, 2018, 06:29:07 pm »
kerrsmith
In latest versions you can copy the whole repository too. I addressed that in my comment.
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 

Offline kerrsmith

  • Regular Contributor
  • *
  • Posts: 77
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #19 on: September 26, 2018, 09:56:41 pm »
kerrsmith
In latest versions you can copy the whole repository too. I addressed that in my comment.

That's good to know - the version I originally got was from a couple of weeks ago and I had the issue of the missing button as I had linked directly to the main folder, once I changed it to go to the sub folder it worked perfectly.

I now have it set up in a folder in my home directory so I can run git updates on it easily from a script that also checks a few other git projects - I then use a link from the KiCad directory as suggested in the documentation.

I also have to say that this is an amazing plugin that is incredibly useful. Usually I print out the PCB footprints layout and bill of materials and then work from them but this plugin makes it so much easier - just hover and everything is highlighted.

I think it would be great if it came as standard with Kicad as it is so helpful.
 

Offline qu1ckTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #20 on: September 26, 2018, 10:10:53 pm »
I think it would be great if it came as standard with Kicad as it is so helpful.

I'm glad you like it.
Unfortunately I don't think getting this plugin packaged with standard distribution of KiCad is going to happen any time soon. Core devs put the whole responsibility of maintaining plugins on plugin authors. Even current python interface is provided "as is, may or may not work at any given time". They accept patches if something breaks but generally don't test it.

Maybe when a proper API is designed and implemented, one which they will support, they would integrate some useful plugins as well.
Nothing is true (as far as measurements go)
and everything is permitted (as long as you are ok with magic smoke escaping)
 

Offline kerrsmith

  • Regular Contributor
  • *
  • Posts: 77
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #21 on: September 27, 2018, 10:58:59 am »
I have just had a quick look on their website and they have an 'External Tools' section under the top 'Discover' drop down menu. I think this would be a great place for your plugin to go.

I am not sure about how you go about getting it added but if you need people to contact KiCad via their website to offer suggestions I would be happy to do this - assuming you want to try and get it featured on their site of course.
 

Offline hermit

  • Frequent Contributor
  • **
  • Posts: 482
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #22 on: September 27, 2018, 04:12:04 pm »
You seem to have gotten a shout out and I thought I'd post it here in case you didn't see it. ;)

https://www.eevblog.com/forum/oshw/open-source-oscilloscope-can-it-be-done/msg1851776/#msg1851776

Open Source Hardware / Re: Open Source Oscilloscope, can it be done?
« on: Yesterday at 12:17:42 pm »
Someone out there does seem to be working on an open source scope.

The (wonderful) Interactive HTML BOM Kicad plug-in https://github.com/openscopeproject/InteractiveHtmlBom has a couple of interactive demos "of (soon to be published) in house designs" one of which OSPx201 which looks like a pretty-far-along oscilloscope.

https://openscopeproject.org/InteractiveHtmlBomDemo/OSPx201/ibom.html

A two-sided <10x10cm open source oscilloscope (cheaply fabbed) with a ~$100 BOM capable of 10Mhz or so would be revolutionary.
 

Offline desertgreg

  • Contributor
  • Posts: 30
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #23 on: October 10, 2018, 04:26:48 pm »
This looks absolutely awesome.   :-+ :-+
 

Offline Warhawk

  • Frequent Contributor
  • **
  • Posts: 819
  • Country: 00
    • Personal resume
Re: Interactive Html Bom Plugin
« Reply #24 on: November 21, 2018, 01:08:26 pm »
qu1ck: I am just wondering if there is a chance to have something similar, which would highlight complete tracks based on nets, or at least highlights a pad associated with the net.

I would love to help and contribute but this is beyond my programming skills.

Additionally, I would like to also have an option for selecting a different layer for part outlines. For example, I don't use the solder mask layer but F.Fab and B.Fab.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf