Giter VIP home page Giter VIP logo

kicad-schlib's Introduction

kicad-schlib

(Warning: work in progress!)

These are my KiCad schematic libraries, meant to be used with my PCB libraries:

https://github.com/cpavlina/kicad-pcblib

For preview renders, look here:

https://github.com/cpavlina/kicad-schlib-preview

Using these libraries

This repository includes a script to create a KiCad project, at create_project.sh, to be called like this:

create_project.sh  project_name

It will:

  1. Create a directory called project_name
  2. git init if not already in a git repository
  3. Add cpavlina/kicad-schlib and cpavlina/kicad-pcblib as submodules, shallow-cloned to save space
  4. Create the basic project files with all the libraries preloaded

The script doesn't depend on any other files in the repository, so you can download and run only the script itself without having to clone the repository yourself.

Why submodules?

Yeah, I know a lot of people don't like submods, but I find them just about perfect for this application, for the following very important (IMHO) reason:

Submodules link to a specific commit. This is important when building a PCB. KiCad does not version libraries, so without doing this, the libraries could update underneath your project and introduce unnoticed errors. Using submodules ties your project to the parts you initially started using, and if you want to update (and have the time to review changes and make sure there are no errors), you can do this manually.

When cloning a project using submodules, it is normally required to use git clone --recursive; note that because KiCad cache the library parts that have actually been used, a project will still be readable if the libraries aren't also cloned (and can be distributed without them for reference purposes).

kicad-schlib's People

Contributors

alexisvl avatar benishor avatar idpromnut avatar iromero91 avatar mweyland avatar richardeoin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.