All Projects â†’ nerdyscout â†’ kicad-exports

nerdyscout / kicad-exports

Licence: MIT license
Auto generate exports (schematics, gerbers, plots) for any KiCAD5 project.

Programming Languages

HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to kicad-exports

Kicad Tools
Tools for making it easy to work with Kicad
Stars: ✭ 47 (-31.88%)
Mutual labels:  schematics, kicad
Preamp Two
An digitally controlled hi fi preamplifier 🔈đŸŽĩ
Stars: ✭ 21 (-69.57%)
Mutual labels:  schematics, kicad
Altium2kicad
Altium to KiCad converter for PCB and schematics
Stars: ✭ 490 (+610.14%)
Mutual labels:  schematics, kicad
stack-chan
A JavaScript-driven M5Stack-embedded super-kawaii robot.
Stars: ✭ 242 (+250.72%)
Mutual labels:  schematics, kicad
Raemixx500
Open Hardware Remake of the Commodore Amiga 500+ Mainboard
Stars: ✭ 161 (+133.33%)
Mutual labels:  schematics, kicad
Dji Hardware Schematics
Community made schematics for the DJI drones and devices.
Stars: ✭ 72 (+4.35%)
Mutual labels:  schematics, kicad
Skidl
SKiDL is a module that extends Python with the ability to design electronic circuits.
Stars: ✭ 614 (+789.86%)
Mutual labels:  schematics, kicad
Plotkicadsch
This project aims at being able to export Kicad Sch files to structured picture files
Stars: ✭ 153 (+121.74%)
Mutual labels:  schematics, kicad
Bit Preserve
Project for capturing vintage, classic, aka old computer schematics in KiCad.
Stars: ✭ 219 (+217.39%)
Mutual labels:  schematics, kicad
nestronic
Nestronic Game Music Synthesizer Alarm Clock
Stars: ✭ 24 (-65.22%)
Mutual labels:  schematics, kicad
BE6502-Build-a-65c02-computer
A PCB being made while watching Ben Eaters "Build a 6502 computer" video series. Includes the computer itself, a standalone slow clock and an Arduino Mega shield for the bus monitor sketch..
Stars: ✭ 70 (+1.45%)
Mutual labels:  kicad
RetroWiFiModem
An ESP8266 based RS232 <-> WiFi modem with Hayes AT style commands and LED indicators
Stars: ✭ 65 (-5.8%)
Mutual labels:  kicad
DRMgr
A PCBNEW plugin that saves and restores design rules for a KiCad PCB.
Stars: ✭ 16 (-76.81%)
Mutual labels:  kicad
KiBot
KiCad automation utility
Stars: ✭ 203 (+194.2%)
Mutual labels:  kicad
dataui
data-ui for R
Stars: ✭ 57 (-17.39%)
Mutual labels:  plots
midi-grid
DIY midi controller project
Stars: ✭ 60 (-13.04%)
Mutual labels:  kicad
mikoto
Bluetooth LE nRF52840 microcontroller in a pro-micro footprint.
Stars: ✭ 139 (+101.45%)
Mutual labels:  kicad
Lotus58
A 58 key split ergo linear keyboard derived from the Lily58 family
Stars: ✭ 142 (+105.8%)
Mutual labels:  kicad
Pinion
Generate interactive and nice-looking diagrams for your PCBs!
Stars: ✭ 264 (+282.61%)
Mutual labels:  kicad
fornalder
Visualize long-term trends in collections of Git repositories.
Stars: ✭ 80 (+15.94%)
Mutual labels:  plots

ℹī¸ kicad-exports will not be updated anymore! As KiBot itself runs now in CI/CD, and there is this great template, even better automation can be done.


CodeFactor default

Auto generate exports (schematics, gerbers, plots) for any KiCAD5 project. You could run it locally or on every git push with Github Actions.

usage of kicad-exports with Github Actions

name: example

on:
  push:
    paths:
    - '**.sch'
    - '**.kicad_pcb'
  pull_request:
    paths:
      - '**.sch'
      - '**.kicad_pcb'

jobs:
  example:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: nerdyscout/[email protected]
      with:
      # Required - kibot config file
        config: any.kibot.yaml
      # optional - prefix to output defined in config
        dir: docs
      # optional - schematic file
        schema: '*.sch'
      # optional - PCB design file
        board: '*.kicad_pcb'
      # optional - verbose output info
        verbose: 0
    - name: upload results
      uses: actions/upload-artifact@v2
      with:
        name: docs
        path: docs

The predefined configs do run a ERC and DRC in advance, if these checks fail no exports will be generated. You could write your own config file and define filters to ignore these errors therefore forcing to export the data. In this case be careful not to end up with some faulty PCB.

⚠ī¸ Pushing auto generated files back to the same branch you are working on manualy is a bad idea!

use kicad-exports local

Installation

You need to have Docker installed.

git clone --recursive https://github.com/nerdyscout/kicad-exports /some/where/kicad-exports
cd /some/where/kicad-exports
make && make install

run

go to your KiCad project folder and run kicad-exports

cd /my/kicad/example-project
kicad-exports -d $DIR_OUT -e $SCHEMA -b $BOARD -c $CONFIG 

⚠ī¸ running any command your git repository will be modified using kicad-git-filters

run with predefined example config

kicad-exports -c any.kibot.yaml 

run with own config

place config file in directory of your kicad project and use relative path.

kicad-exports -c myconfig.kibot.yaml -v -s all

or run multiple config files

kicad-exports -c config/*.kibot.yaml -b myproject.kicad_pcb -e myproject.sch

run bundle

bundles are a choice of configs run sequentially

kicad-exports -c config/bundle/documentation.default.kibot.lst

generates a diff of the PCB between the given and the latest commit

kicad-exports -x $COMMIT_HASH -b myproject.kicad_pcb

running localy enables additional paramaters

  • -v, --verbose is useful while developing own config files
  • -o, --overwrite key=value overwrite variables in config file
  • -s, --skip $arg skips preflight from given config file
  • -x, --diff $commit_hash output differential files between $commit_hash and latest commit

Credits

kicad-exports is just a wrapper for kibot and all it dependencies. For further details of all the tools used please see below.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].