@@ -13,6 +13,10 @@ render silkscreen, footprint pads, texts and drawings. Most of the pcbnew
13
13
features are supported but there are some rarely used things that will not
14
14
be rendered. For example curve type segments in drawings are not supported.
15
15
16
+ ## So what does it do?
17
+
18
+ [ Demo is worth a thousand words.] ( https://openscopeproject.org/InteractiveHtmlBomDemo/ )
19
+
16
20
## Installation
17
21
18
22
KiCad's Pcbnew plugins can be placed in following places, depending on
@@ -41,11 +45,12 @@ platform.
41
45
- /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins
42
46
- ~ /Library/Application Support/kicad/scripting/plugins
43
47
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.
49
54
50
55
If you want this plugin to work in all KiCad versions you install, it's
51
56
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).
55
60
Open Pcbnew. Draw your board, make sure it has edges drawn on Edge.Cuts layer.
56
61
57
62
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.
59
65
60
66
## Supported versions
61
67
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.
63
72
64
73
## Known issues
65
74
75
+ - Description and Part columns are not tested yet.
66
76
- Circle and Arc shape in edge cuts may lead to incorrect board boundary
67
77
calculation in html render.
68
78
79
+ For example a board that is just one circle will not render.
80
+
69
81
- Custom shape pads and copper zone drawings in footprints are supported but
70
82
you need patched version of KiCad python bindings.
71
83
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).
73
87
74
88
Overwrite corresponding files:
75
89
76
90
- {KICAD_INSTALL_PATH}/bin/\_ pcbnew.kiface
77
91
- {KICAD_INSTALL_PATH}/lib/python2.7/site-packages/pcbnew.py
78
92
- {KICAD_INSTALL_PATH}/lib/python2.7/site-packages/\_ pcbnew.pyd
79
93
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
+
81
137
82
138
# # Browser support
83
139
0 commit comments