joshajohnson / josh-kicad-lib

KiCad library for all of my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

josh-kicad-lib

KiCad library for all of my projects

To Use

Create a new directory

Initialise git
git init

Create library submodule
git submodule add https://github.com/joshajohnson/josh-kicad-lib.git

Create a hardware directory, and copy the template folder into hardware folder

Rename template files as required

Ready to design your next board!

Script to generate files

Thanks to Silvio for making setup.sh which automates the generation of the required files.

From josh-kicad-lib run ./setup.sh version MyProject "Your Name" which will copy the template directory to hardware/$Version and change the names of template * to MyProject, along with changing the company name of the KiCad files.

Folder Structure

This should result in a folder structure which looks like the below. If your KiCad project is not two levels below this library, things will not work properly.

kicad-project-git
|- .git
|
|- .gitmodules
|- hardware
|  |- version
|     |- fp-info-cache
|     |- fp-lib-table
|     |- sim-lib-table
|     |- <project>.kicad_pcb
|     |- ...
|
|- josh-kicad-lib
|  |- lib files
|
|- README.md 

Addition of new libraries / 3d models

Ensure all paths use the below text at the start of the path, as this keeps everything relative and ensures that it will work across different locations and computers.

${KIPRJMOD}/../../josh-kicad-lib/...

About

KiCad library for all of my projects


Languages

Language:Shell 100.0%