Generate svg schematics for KiCAD v6,7 libraries #182
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #167
The following branch allows the
generate_svg()
function to work properly with a KiCAD version 7 (and probably version 6) library, but I need some feedback on a few things before I think it's ready to merge:generate_schematic()
function and wonder whethergenerate_svg()
is going to be obsolete..svg
files to see if they're correctside
parameter has been set correctly. It can be visualized by uncommentingtools/kicad/v6.py:961
and then generating the svg. Some of these jogs are very annoying because they cause the lines to go through multiple pins on the same part so it's unclear to which pin the wire is connected.symtx
is done using a<g> transform() <g/>
tag enclosing the svg at the exact scale and orientation indicated by the library. I felt this was a little cleaner but others might disagree.