Turns raster images in to PCB silkscreen images using halftone technique
I've been meaning to learn Rust for ages; this is a mainly a toy project towards that. See my post on an earlier iteration for some background.
Still a work in progress, when I've got some free time and feel like programming...
- Clone this repo
- Install Rust and cargo
$cargo build
➜ kicad_halftone git:(master) ✗ cargo run -- -h
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/kicad_halftone -h`
Generate KiCad footprints from bitmaps, using halftone technique
Usage: kicad_halftone [OPTIONS] <INPUT> [OUTPUT]
Arguments:
<INPUT> Raster image source
[OUTPUT] Output file name - defaults input base name
Options:
-s, --spacing <DOT_SPACING> Spacing between dots [mm] [default: 1.1]
-d, --dot-min <DOT_MIN_DIAM> Minimum diameter of dots [mm] [default: 0.15]
-D, --dot-max <DOT_MAX_DIAM> Maximum diameter of dots [mm] [default: 1.2]
-w, --width <OUTPUT_WIDTH> Output width [mm] [default: 0]
--height <OUTPUT_HEIGHT> Output height [mm] [default: 0]
-i, --invert Invert image brightness
-h, --help Print help (see more with '--help')
-V, --version Print version