I want to add some Hirose FH12 connectors footprints with 1mm pitch. Looking on repository I’ve found out that footprints of this series with 0,5mm pitch were generated with help of kicad-footprint-generator.
I’ve decided that makes sense to modify this script
Traceback (most recent call last):
File “conn_ffc_hirose_fh12_smd_side.py”, line 249, in
generate_one_footprint(pins_per_row, configuration)
File “conn_ffc_hirose_fh12_smd_side.py”, line 56, in generate_one_footprint
pad_silk_off = configuration[‘silk_line_width’]/2 + configuration[‘silk_pad_clearance’]
KeyError: ‘silk_line_width’
Looks like it needs some another configuration file but I couldn’t find it. Sorry but I’m completely newbie in python. Could somebody give an explanation?
You need to use python 3 (python 2 is not supported by any of my scripts.)
But to be honest i do not think that this is the problem here. (Using python 2 will however lead to invalid footprints as the division behaves differently between python 2 and python 3.)
Try without giving a global config file (the scripts should run without any parameter set.)