Mod to kicad_mod?

Is there a way to convert old .mod footprints to .kicad_mod automatically, either through scripting or some external software/library?

currently my workflow is:

  1. open footprint editor
  2. preferences->manage libraries->add mod
  3. open footprint from mod, resave as kicad_mod
  4. remove mod from libraries

obviously this is pretty tiresome, any other suggestions to streamline it?

I would like to know if there is other faster way too…

Couldn’t find anything, so I wrote it myself:

usage: python convert_mod.py old.mod new.pretty

2 Likes

Oh, snap, I realize that I also had develop script to do this job! This script is not dependent on KiCad or pcbnew package. It convert all the .mod file in a specified path:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.