If you think official footprint modules have small text size or thin lines for drawings, you can change them with this script at once.
You need https://github.com/adamgreig/agg-kicad/blob/master/scripts/sexp.py file to execute this script. Obtain it and put it into the same directory with the customize_mods.py file.
Here is list of options can be specified.
python customize_mods.py -h
usage: customize_mods.py [-h] [--text_width TEXT_WIDTH]
[--text_height TEXT_HEIGHT]
[--text_thickness TEXT_THICKNESS]
[--ignore_text IGNORE_TEXT]
[--thin_min_width THIN_MIN_WIDTH]
[--thin_max_width THIN_MAX_WIDTH]
[--thin_width THIN_WIDTH]
[--midium_min_width MIDIUM_MIN_WIDTH]
[--midium_max_width MIDIUM_MAX_WIDTH]
[--midium_width MIDIUM_WIDTH]
[--thick_min_width THICK_MIN_WIDTH]
[--thick_max_width THICK_MAX_WIDTH]
[--thick_width THICK_WIDTH]
[--ignore_drawings IGNORE_DRAWINGS]
[--verbose VERBOSE]
[path]
Customize text size and line width of KiCAD modules
positional arguments:
path default path is './*.pretty/*.kicad_mod'
optional arguments:
-h, --help show this help message and exit
--text_width TEXT_WIDTH
text width
--text_height TEXT_HEIGHT
text height
--text_thickness TEXT_THICKNESS
text line thickness
--ignore_text IGNORE_TEXT
Do not change text attributes.
--thin_min_width THIN_MIN_WIDTH
width of drawings
--thin_max_width THIN_MAX_WIDTH
width of drawings
--thin_width THIN_WIDTH
width of drawings
--midium_min_width MIDIUM_MIN_WIDTH
width of drawings
--midium_max_width MIDIUM_MAX_WIDTH
width of drawings
--midium_width MIDIUM_WIDTH
width of drawings
--thick_min_width THICK_MIN_WIDTH
width of drawings
--thick_max_width THICK_MAX_WIDTH
width of drawings
--thick_width THICK_WIDTH
width of drawings
--ignore_drawings IGNORE_DRAWINGS
Do not change drawing width.
--verbose VERBOSE verbose output
Here is an example to change text size to 2 mm widht, 2 mm height and 0.2 mm thickness.
python customize_mods.py --text_width=2 --text_height=2 --text_thickness=0.2
You can specify targets to convert as one of
- path to .kicad_mod file
- path to .pretty directory, which means all .kicad_mod files are parsed
- path to a directory, which means all .pretty directories are parsed
- wild card
- default target is './.pretty/.kicad_mod', which means all .kicad_mod files contained in the .pretty directories which can be found in the current directory