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

0 Members and 1 Guest are viewing this topic.

Offline qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Interactive Html Bom Plugin
« on: July 25, 2018, 10: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: 2298
  • Country: gr
Re: Interactive Html Bom Plugin
« Reply #1 on: July 26, 2018, 12:46:27 am »
Nice!
Become a realist, stay a dreamer.

 

Offline rachaelp

  • Supporter
  • ****
  • Posts: 131
  • Country: gb
Re: Interactive Html Bom Plugin
« Reply #2 on: July 26, 2018, 12:48:44 am »
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 (http://www.eevblog.com/forum/chat/test-equipment-anonymous-(tea)-group-therapy-thread/)
 

Online Bassman59

  • Frequent Contributor
  • **
  • Posts: 970
  • Country: us
  • Yes, I do this for a living
Re: Interactive Html Bom Plugin
« Reply #3 on: July 26, 2018, 07:28:15 am »
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: 1289
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #4 on: July 27, 2018, 02:42:32 pm »
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, 02:44:14 pm by bson »
 

Offline Warhawk

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

Offline qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #6 on: August 06, 2018, 07:49:42 am »
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: 364
  • Country: 00
    • Personal resume
Re: Interactive Html Bom Plugin
« Reply #7 on: August 06, 2018, 11: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: 384
  • Country: zw
Re: Interactive Html Bom Plugin
« Reply #8 on: August 13, 2018, 05:26:02 am »
This is very nice. Please keep up the good work!  :)
 

Offline ehughes

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

Offline mdszy

  • Supporter
  • ****
  • Posts: 224
  • Country: us
  • pixie wrangler in training!
    • szy.io
Re: Interactive Html Bom Plugin
« Reply #10 on: August 25, 2018, 12:22:02 am »
Wow, this is really well made! Great work!
 

Online janoc

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: fr
Re: Interactive Html Bom Plugin
« Reply #11 on: August 25, 2018, 12:39:08 am »
Jeeze, I have been looking for something like that for a long time!

Well done!  :-+
 

Offline LapTop006

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

Offline lutkeveld

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

Offline qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #14 on: September 25, 2018, 08:14:04 pm »
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)
 

Offline lutkeveld

  • Regular Contributor
  • *
  • Posts: 73
  • Country: nl
Re: Interactive Html Bom Plugin
« Reply #15 on: September 26, 2018, 07:55:47 pm »
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 qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #16 on: September 27, 2018, 03:49:55 am »
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: 71
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #17 on: September 27, 2018, 04:11:44 am »
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 qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #18 on: September 27, 2018, 04:29:07 am »
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: 71
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #19 on: September 27, 2018, 07:56:41 am »
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 qu1ck

  • Regular Contributor
  • *
  • Posts: 61
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #20 on: September 27, 2018, 08:10:53 am »
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: 71
  • Country: 00
Re: Interactive Html Bom Plugin
« Reply #21 on: September 27, 2018, 08:58:59 pm »
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: 458
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #22 on: September 28, 2018, 02:12:04 am »
You seem to have gotten a shout out and I thought I'd post it here in case you didn't see it. ;)

http://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.
 

Online desertgreg

  • Contributor
  • Posts: 7
  • Country: us
Re: Interactive Html Bom Plugin
« Reply #23 on: October 11, 2018, 03:26:48 am »
This looks absolutely awesome.   :-+ :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf