Skip to content

Commit 448db6a

Browse files
committed
Update readme with more info
1 parent 656d4e7 commit 448db6a

File tree

1 file changed

+65
-9
lines changed

1 file changed

+65
-9
lines changed

README.md

Lines changed: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ render silkscreen, footprint pads, texts and drawings. Most of the pcbnew
1313
features are supported but there are some rarely used things that will not
1414
be rendered. For example curve type segments in drawings are not supported.
1515

16+
## So what does it do?
17+
18+
[Demo is worth a thousand words.](https://openscopeproject.org/InteractiveHtmlBomDemo/)
19+
1620
## Installation
1721

1822
KiCad's Pcbnew plugins can be placed in following places, depending on
@@ -41,11 +45,12 @@ platform.
4145
- /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins
4246
- ~/Library/Application Support/kicad/scripting/plugins
4347

44-
I recommend downloading [latest release](http://github.com/osp/release) or
45-
cloning this repo in a directory of your choice and creating a symlink in one of
46-
KiCad's plugin directories to `InteractiveHtmlBom` folder. Linux users can do
47-
it with `ln -s <target> <link>`, in windows `cmd /c mklink /D <link> <target>`
48-
does the job.
48+
I recommend downloading
49+
[latest release](http://github.com/openscopeproject/InteractiveHtmlBom/release)
50+
or cloning this repo in a directory of your choice and creating a symlink in
51+
one of KiCad's plugin directories to `InteractiveHtmlBom` folder. Linux users
52+
can do it with `ln -s <target> <link>`, in windows
53+
`cmd /c mklink /D <link> <target>` does the job.
4954

5055
If you want this plugin to work in all KiCad versions you install, it's
5156
best to put it in user folder (%APPDATA% for Windows, ~/ for Linux).
@@ -55,29 +60,80 @@ best to put it in user folder (%APPDATA% for Windows, ~/ for Linux).
5560
Open Pcbnew. Draw your board, make sure it has edges drawn on Edge.Cuts layer.
5661

5762
Save the file and press the
58-
[iBOM](http://github.com/osp/InteractiveHtmlBom/icon.png) button.
63+
[iBOM](http://github.com/openscopeproject/InteractiveHtmlBom/InteractiveHtmlBom/icon.png)
64+
button.
5965

6066
## Supported versions
6167

62-
Kicad 5.0 and later are supported.
68+
KiCad 5.0 is the only supported version. Pcbnew python interface is not very
69+
stable and tends to have backwards incompatible changes. I will try to support
70+
future versions but generally you can expect my plugin to be tested only on
71+
the latest stable build.
6372

6473
## Known issues
6574

75+
- Description and Part columns are not tested yet.
6676
- Circle and Arc shape in edge cuts may lead to incorrect board boundary
6777
calculation in html render.
6878

79+
For example a board that is just one circle will not render.
80+
6981
- Custom shape pads and copper zone drawings in footprints are supported but
7082
you need patched version of KiCad python bindings.
7183

72-
You can get these bindings [here](http://github.com/osp/bindings).
84+
Patch is sent to KiCad devs and hopefully will be integrated soon. In the
85+
meantime you can get these bindings
86+
[here](http://github.com/openscopeproject/InteractiveHtmlBom/bindings) (win x64 only).
7387

7488
Overwrite corresponding files:
7589

7690
- {KICAD_INSTALL_PATH}/bin/\_pcbnew.kiface
7791
- {KICAD_INSTALL_PATH}/lib/python2.7/site-packages/pcbnew.py
7892
- {KICAD_INSTALL_PATH}/lib/python2.7/site-packages/\_pcbnew.pyd
7993

80-
Patch is sent to KiCad devs and hopefully will be integrated soon.
94+
95+
96+
- Design is complete and utter shite.
97+
98+
Sorry about that, not my strong suite. You are welcome to improve it and
99+
send a PR.
100+
101+
## How to report issues
102+
103+
General software bug reporting rules apply, make sure to describe in most
104+
clear terms the following:
105+
106+
1. KiCad version used
107+
- What the steps to reproduce the issue are
108+
- What is the observed behavior
109+
- What is expected behavior
110+
111+
In most cases I imagine issues will be of 2 types: 1) plugin crashes and nothing
112+
is created and 2) board or parts of it are not rendered correctly.
113+
114+
For the first case you should include stack trace in your bug report. You can
115+
get it by running plugin manually from scripting console.
116+
117+
- Open pcbnew, go to `Tools -> Scripting Console` or click corresponding
118+
button.
119+
- Type following into the console:
120+
121+
```python
122+
from InteractiveHtmlBom import plugin
123+
plugin.Run()
124+
```
125+
126+
Copy full output into pastebin and add a link to it in your bug report.
127+
You can skip pastebin if output is small enough (20 lines or less).
128+
129+
For the second case best way to report it is by sharing your kicad_pcb file.
130+
Remove everything that is not relevant to the bug, leave only the part that
131+
is not rendering correctly. That will make it easier for me to debug and
132+
also you won't have to share what is possibly proprietary information.
133+
134+
_Note: don't remove edge cut drawings or replace them with a simple box around
135+
problem area._
136+
81137

82138
## Browser support
83139

0 commit comments

Comments
 (0)