-
Notifications
You must be signed in to change notification settings - Fork 134
Windows 11 with both KiCAD5/6/7/8 generate_netlist and generate_svg fail #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've found an error in SKiDL where generating a netlist, schematic, SVG, etc. corrupts the stored data so that creating anything after that runs into a problem. I have a fix for that and will release SKiDL 2.0.1 soon. Also, generate_schematic only works with KICAD5. More modern versions of KiCad aren't supported. |
Fixed in release 2.0.1. |
After updating to 2.0.1, I noticed my existing code doesn't produce many netlist names anymore. RR = Part('Device', 'R', value='1k')
SW = Part('Switch', 'SW_DPST')
#SW[1] & SW[2]
SW[3] & SW[4]
gnd = Net('GND')
RR[1] & SW[1, 3] & gnd
RR[2] & gnd
generate_netlist() In the netlist, the GND net is named N$1 instead of GND. Any clue what's causing this? |
I'll look into this. |
It looks like it's order-dependent. If a named net is added later than automatic net was created, the name is not propagated properly. RR = Part('Device', 'R', dest=TEMPLATE)
RR1 = RR(value='1M')
RR2 = RR(value='2M')
RR3 = RR(value='3M')
(RR1 & RR2) | RR3 # results in `N$2` and `N$3`
RR1[1] += Net('net1')
RR2[2] += Net('net2')
#(RR1 & RR2) | RR3 # results in `net1` and `net2`
generate_netlist() |
…ven though the nets aren't merged.
I have a fix for this in the |
Tested and works great! Thank you! |
Discussed in #234
Originally posted by GinGawnKwong December 11, 2024
In this demo,it show up with error :ERROR: No footprint for GND/#PWR1. @ [f:\GDUT\EDA\skidl-master\mytest\mytest_1.py:25]

I had set the KICAD6/7/8's symbol_dir right, but in the nest demo it just ran succeeded.but the generate_svg still fail
The text was updated successfully, but these errors were encountered: