Making a good assembly drawing for hand soldering out of the KiCAD PCBNew


#21

Wow this looks awesome considering it’s automated by the software.
realy why not integrate it to kicad?

And yeah sore for bringing this dead cat from the grave.


#22

Installing NumPy is problematic in KiCad python because a “normal” install of NumPy requires compilation. Users would have to set up the ability to compile C++ I.e. using mingw). There are pre -compiled versions of NumPy that are supposed to work, but I have been unable to get them installed on Windows.

I’d love for NumPy to be installed with KiCad python by default for DRC purposes (see KiPadCheck).

This tool might be able to be refactored for use with hand-written SVG overlay output so that additional python libraries are not needed.


#23

seems more documentation tools would benefit from a modified SVG-Export :slight_smile:
at group-g-elements-by-netlist-in-plotted-svg
and also at proof-of-concept-web-based-svg-design-viewer
this was discussed…

Is someone here that has time to look into this :wink: :wink:
or i have to find the time to have a look at how hard it is to get into kicad modifications myself :astonished:
but this will take time… :wink:

sunny greetings stefan


#24

For installing NumPy has anyone tried something like https://www.scipy.org/install.html ?


#25

I took the presence of NumPy for granted, but if this gives Windows users too much of a headache we could just remove this dependency. I didn’t use it for technical reasons (like computation time or storage), I just like using NumPy for more convenient linear algebra coding.

I’m kind of astonished though that nobody talked about the elephant in the room, the dependency on matplotlib for doing the drawing :D.

The idea of putting everything in the browser is interesting of course. Instead of emitting complete graphics, just export a baseline SVG of the layout plus some overlay SVGs or even the JSONified data for creating the part highlighting via JS within the browser directly.

I personally preferred my PDF solution though because in that specific situation I wanted printed pages in front of me for assembly.


#26

hi @pwuertz
I just tried your script with the nightly kicad and got the dreaded gettattr error on line 69. Would this be difficult to fix for the latest builds?