Home

Awesome

G-Code Laser Stencil Generator for KiCAD PCBs

KiCAD Pcbnew plugin to generat laser cutter G-Code files for solder paste stencils

Screenshot

Generated G-Code files:

The plugin is based on the awesome iBom plugin code.

Installation

KiCad 5.1.x

Copy the whole laser-stencil folder (including all files and sub-folders) into your KiCAD plugin directory.

Restart of Pcbnew.

The plugin icon should appear in the tool bar.

KiCad 6

Plugin directory canged! If you open Pcb Editor and "Tool" menu > "External Plugins" > "Open Plugin Directory", you will see where KiCad is searching for plugins. Please copy the laser-stencil folder to this dir.

For Linux, installation should be like:

git clone https://github.com/ma-ha/kicad-laser-stencil-plugin.git
cd kicad-laser-stencil-plugin
cp -r laser-stencil ~/.local/share/kicad/6.0/scripting/plugins

On Windows install works for me like this:

Config

Not all configuration parameters are in the dialog. To change these defaults, open the dialog, click "Save current settings" and edit the "stencil-config.ini" text file in the plugin folder.

These settings are available only via config file:

To reset settings, just delete the respective config lines or the whole file.

TODO

Feedback welcome

Please feel free to create a GitHub "issue" for feature requests, issues or questions.

License

MIT License, Copyright (c) 2021 ma-ha