I wanted to download symbol/footprint of a capacitor, but the name contains an asterisk for the symbol and JLC2KICAD refuses to download the file for me.
Apparently, in the symbol.py file you just have to add
.replace("*", "{asterisk}")
in
component_title = (
data["result"]["title"]
.replace(" ", "_")
.replace(".", "_")
.replace("/", "{slash}")
.replace("\\", "{backslash}")
.replace("<", "{lt}")
.replace(">", "{gt}")
.replace(":", "{colon}")
.replace('"', "{dblquote}")
.replace("*", "{asterisk}")
)
Line 56. I didn't check in the footprint creation, but I imagine it's the same?!
I wanted to download symbol/footprint of a capacitor, but the name contains an asterisk for the symbol and JLC2KICAD refuses to download the file for me.
Apparently, in the symbol.py file you just have to add
in
Line 56. I didn't check in the footprint creation, but I imagine it's the same?!