Sourceshttps://github.com/tinkerator/driller

driller - a go tool to unroll .drl files

Introduction

The driller tool takes as input a .PTH.drl file output by KiCad and generates a number of files:

Example usage:

$ git clone https://github.com/tinkerator/driller.git
$ cd driller
$ go run driller.go --src samples/test-holes-PTH.drl
$ ls
default-C0.100-PTH.drl  default.drl.svg  go.sum     reference.svg
default-C0.300-PTH.drl  driller.go       LICENSE    samples
default-C1.000-PTH.drl  go.mod           README.md

The default output files are generated by the driller tool. There are 3 tools referenced in the samples/test-holes-PTH.drl file, so there are 3 generated default-C*-PTH.drl files, one for each tool. There is also an SVG file default.drl.svg which renders as follows:

Example generated SVG

There is one more argument that can change the output destination of the program. It is --dest which defaults to ./default and this is why the generated files are named default*.

If you find this tool useful, you can install it in your ~/go/bin directory as follows:

$ go install driller.go

TODO

License

The driller package and examples are distributed with the same BSD 3-clause license as that used by golang itself.

Requesting features and reporting bugs

This is a hobby project. No support should be expected. However, if you want to suggest a feature, or if you find a bug, please use the github driller bug tracker.


Markdown rendering courtesy of gomarkdown/markdown.