Kicad Templates
Revision as of 20:49, 22 January 2022 by U731219879 rc (talk | contribs)
This wiki document is an example of how to create Kicad Templates. The steps are the same for Kicad 5 and Kicad 6. Any template created in Kicad 5 will not work in Kicad 6 without converting the files. You don’t need to follow the files system structure I used in this this example. I have selected this file system method for personal ease of use on my Raspberry Pi 4 This document was written to support Kicad 5.X but can be used with Kicad 6.X The same process works for other linux and Windows versions.
Set or Change the Path for User Templates in Kicad
Open Kicad Select: Preferences Tab Select Configure Paths : | Name | Path | Select: | KICAD_USER_TEMPLATE_DIR | /home/pi/kicad/template | Create the needed folders for Version 5: mkdir /home/pi/kicad/template. Windows Note: Kicad 6.0 has already created the folders needed for templates C:\Users\username\Documents\KiCad\6.0\template\ No need to change the path for Windows Versions.
Create and Set up your own Path file structure.
In your home directory create a directory named Kicad-projects. mkdir /home/pi/Kicad-projects Then CD to your new directory. cd Kicad-projects In the Kicad-projects directory make another directory named kicad-templates. mkdir kicad-templates or mkdir /home/pi/Kicad-projects/kicad-templates Under Path column change to: /home/pi/Kicad-projects/Kicad-templates
Start Project
Open: KiCad Select: File, Click on: New, Click on: Project Select: Kicad-Projects folder Select: Kicad-templates folder Enter project name: 50mmX50mm-Template Click on: Save
Start editing in the schematic
Select: Schematic Layout Editor New users note: Configure Global Symbol Library Table will appear. Select: Copy default global symbol library table (recommended) Click: OK
Select : Place Symbol Icon on right side tool bar. Click in schematic work sheet area. A window called Choose Symbol will open.
In search filter enter mount. Select: MountingHole_Pad Mounting Hole with connection. Place Mounting Hole on schematic work sheet area. Click on Select item icon on right side tool bar. (Looks like mouse cursor) Hover over mounting hole pad and hit the “C” to Copy. Note: ver6.0 use: “Control C” Repeat two more times. You should now have 4 Mounting Holes. Select: Place graphic lines or polygons icon on right side tool bar. Draw square around the 4 mounting holes. Select: Annotate schematic symbol Icon on top tool bar. Click: on Annotate tab then close Click: Save Icon on top tool bar to save drawing.
Select: Assign footprint to schematic symbols icon on top tool bar.
New users note: Configure Global Footprint Library Table Select: Copy default global footprint library table (recommended)
Select MountingHole Select in drop down menu: MountingHole_3.2mm_M3_Pad_Via Click: Apply, Save Schematic & Continue. Click: OK Select: Generate netlist icon on top tool bar. Select: Generate netlist in Netlist window. Click Save in file window.