On Tue, Jul 10, 2018 at 02:18:05PM -0700, Denis Heidtmann wrote:
> The issue I expect to encounter is choosing the new file and the
> file name.  It seems kicad has rules (kept secret) for directory and
> file names.

I don't think it cares about the directory name.  Footprint files need
a .kicad_mod suffix, though.

To KiCad's PCB editor, pcbnew, the directory is the library, and the
files are footprint modules within the library.  pcbnew has a tool for
adding new footprint libraries,  Preferences->Manage Footprint
Libraries... (the actual name may differ between versions).

The tool will create a file in your project named fp-lib-table.
Alternatively, you can create the file yourself.  It should look
something like:

    (fp_lib_table
      (lib (name "My Custom Footprints")(type KiCad)(uri 
"$(KIPRJMOD)/lib/footprints.pretty")(options "")(descr "My custom 
footprints!"))                                                             
    )

$KIPRJMOD is automatically set, and points to the directory containing
your design's .pro file.  The /libs/footprints.pretty part can be
anything you like, as long as it corresponds to an actual directory
structure within your project directory.


-- 
Paul Mullen
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to