package kicadsch
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e23d51468a0d50dfff56c044d782d56a6bc27be344c3f052cca4d0e1767ba841
sha512=787322504ee7dfc419092ff0691682cc8e1eaa6f59d5c6699962775c1241c18616ebba79fba9d6ff144264e314e634bc6c962e9d1092a7579be878ce08a395fd
Description
Library able to read Kicad libraries and sch file and drive a painter to paint the schematics.
Added to opam-repository:
README
Kicad schematic plotter
PlotKicadsch is a small tool to export Kicad Sch files to SVG pictures. In the future, export to other formats may be available (PDF, PNG).
This package also provides the plotgitsch command which allows to visually compare git revisions of schematics:

For more information type plotgitsch --help.
Objectives
This project is mainly an attempt at using ocaml with functional programing on a pet real-world project.
The quality of the output is not a first requirement (meaning: not supposed to match Kicad one to one), but the accuracy of positioning matters.
Installation
Stable version from OPAM
The stable version of plotkicadsch can be installed with opam:
$ opam switch 4.06.0
$ eval `opam config env`
$ opam update
$ opam install plotkicadschIf you don't use opam consult the .opam files for build instructions.
Windows
For Windows users, there is an experimental opam repository which works pretty well.
Alternatively, you can simply grab precompiled binaries at
https://github.com/jnavila/plotkicadsch/releases
If you have installed git for windows, chances are that you have installed the bash environment, so drop the binaries in C:\Program Files\Git\mingw64\bin(Administrator rights required). They should be accessible on your bash command line and work just like under Linux/OSX.
Master version
The latest running version can also be installed from this repo by pinning the project in opam:
$ opam pin add kicadsch .
$ opam pin add plotkicadsch .
$ opam update
$ opam install plotkicadschHow to
Using
All the commands have a help option. For plotgitsch, a small hands on guide is available.
Contributing
This project accepts GitHub pull requests, but as it is a self-teaching project, I would prefer to do all the core stuff. If you see some parts of the code whose style is not ocamlish or not FP ready, please let me know.
If this project happens to be of any use, let me know also!
Dependencies (3)
-
ocaml
>= "4.05" -
dune-release
build - dune
Dev Dependencies (1)
-
ounit
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building kicadsch with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure