Getting Started¶
Installation via package and content manager¶
IN PROGRESS
v6+ only
Open kicad menu Tools > Plugin and Content Manager.
Scroll down to
kigadgets
Double click. Apply transaction.
You are done
Installation via PyPI¶
pip install kigadgets
Open the pcbnew GUI application. Open its terminal and run this command in kicad 6+
import pcbnew; print(pcbnew.__file__, pcbnew.SETTINGS_MANAGER.GetUserSettingsPath())
This will print 2 paths. Copy that entire line.
For kicad 5, replace that last command with
pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
(note the last underscore).
Go back to your external command line or Terminal shell, and run this command, replacing [paste here] with what you copied
link_kigadgets_to_pcbnew [paste here]
For example,
link_kigadgets_to_pcbnew /usr/lib/python3/dist-packages/pcbnew.py /home/username/.config/kicad
Try it out! Quit and reopen pcbnew application. Open its terminal, then run
pcb.add_circle((100, 100), 20, 'F.Silkscreen'); pcbnew.Refresh()
Developer Installation¶
(ki) git clone git@github.com/atait/kicad-python
(ki) pip install -e kicad-python
Then follow the linker steps above.
Want to know what link_kigadgets_to_pcbnew
is doing for you?