easyeda-ibom-extension
                                
                                 easyeda-ibom-extension copied to clipboard
                                
                                    easyeda-ibom-extension copied to clipboard
                            
                            
                            
                        iBom - InteractiveHTMLBom for EasyEDA
iBom for EasyEDA is a native extension for EasyEDA and LCEDA: Standard Edition. It is based on the awesome project called InteractiveHtmlBom designed and built by qu1ck.
Although InteractiveHtmlBom already supports generation of interactive BOMs from EasyEDA projects, but it involves messing with Python scripts and requires to host the generated html files somewhere. Since my knowledge of Python === null, and my favorite tool for designing electronics is EasyEDA - I decided to give it a shot and port it as a native extension.
Comparing to original solution, iBom for EasyEDA is available right within EasyEDA itself:
- There is no need to run any Pythonscripts.
- No need to host the produced htmlfiles.
- iBomis always accessible by clicking a single menu button from your- PCBdocument!
- It also provides an ability to generate a stand-alone HTMLrepresentation the same way InteractiveHtmlBom does out of the box.
NOTE: This extension is still in ALPHA/BETA stage - a lot of things should be done in order to make it fully compatible with
EasyEDA.
Installation
- Download easyeda-ibom-v0.1.2.zip
- Un-zip the downloaded archive on your hard drive.
- Go to Extension Settingsdialog by using main menuAdvanced -> Extensions -> Extensions Settings....
- Click Load Extension...button and add all the files in from the extracted folder usingSelect Files...button.
- Click Load Extensionand close theExtension Settingsdialog.

Usage
Within EasyEDA
In order to launch iBom within the editor itself - just click on iBom -> Launch... menu item:

You can always dismiss  the iBom view by clicking on the little close button located in the right-top corner of the panel.
Generating stand-alone HTML representation
Just click iBom -> Generate & Download HTML menu item in order to get the stand-alone representation of your PCB document:

Note: In case the downloaded file doesn't have
.htmlextension - just add it manually. It is some sort of weird browser behaviour for the case to be investigated.
Feedback
If you discover any issue or have any suggestions for improvement of the plugin, please open an issue or find me on twitter @turbobabr.
Credits
This solution uses:
- InteractiveHtmlBom as a core component.
- A "hackable"nature ofEasyEDA/LCEDA- thank you guys for allowing us messing with the product! 👏
- svg-path-bbox for calculating various bounding boxes during EasyEDA->InteractiveHTMLBOMdata conversions.
License
MIT License
Copyright (c) 2021 Andrey Shakhmin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
