I was just wondering - what is the recommended way of obtaining a list of all footprints used in a PCB, along with their properties/parameters?
So far, I just found that I could use grep
from the command line - say, if the project is in /tmp/xx
, I can do:
$ grep module /tmp/xx/xx.kicad_pcb
(modules 18)
(module Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm (layer F.Cu) (tedit 54130A77) (tstamp 58E39F92)
(module Pin_Headers:Pin_Header_Straight_2x02 placed (layer F.Cu) (tedit 58E3A479) (tstamp 58E1D9D8)
(module Pin_Headers:Pin_Header_Straight_1x02 placed (layer F.Cu) (tedit 58E343F1) (tstamp 58E1D9EE)
(module Resistors_SMD:R_0603_HandSoldering placed (layer F.Cu) (tedit 58E34419) (tstamp 58E1DA23)
(module Resistors_SMD:R_0805_HandSoldering placed (layer F.Cu) (tedit 58E3444D) (tstamp 58E1DA29)
(module Resistors_SMD:R_0603_HandSoldering placed (layer F.Cu) (tedit 58E3441D) (tstamp 58E1DA2F)
(module Resistors_SMD:R_0805_HandSoldering placed (layer F.Cu) (tedit 58E343AD) (tstamp 58E1DA35)
(module Resistors_SMD:R_0805_HandSoldering placed (layer F.Cu) (tedit 58E3442E) (tstamp 58E1DA41)
(module Resistors_SMD:R_0603_HandSoldering placed (layer F.Cu) (tedit 58E3446A) (tstamp 58E1DA89)
(module Resistors_SMD:R_0603_HandSoldering placed (layer F.Cu) (tedit 58E34465) (tstamp 58E1DA8F)
(module Resistors_SMD:R_0603_HandSoldering placed (layer F.Cu) (tedit 58E34425) (tstamp 58E1DAAD)
(module Socket_Strips:Socket_Strip_Straight_2x20 (layer B.Cu) (tedit 0) (tstamp 58E39F58)
(module TO_SOT_Packages_SMD:SOT-23 (layer F.Cu) (tedit 553634F8) (tstamp 58E39F83)
(module TO_SOT_Packages_SMD:SOT-23-6 (layer F.Cu) (tedit 53DE8DE3) (tstamp 58E39F89)
(module project_footprints:NPTH_3mm_ID (layer F.Cu) (tedit 58E34364) (tstamp 58E3B082)
(module project_footprints:NPTH_3mm_ID (layer F.Cu) (tedit 58E34364) (tstamp 58E3B086)
(module project_footprints:NPTH_3mm_ID (layer F.Cu) (tedit 58E34364) (tstamp 58E3B08A)
(module project_footprints:NPTH_3mm_ID (layer F.Cu) (tedit 58E34364) (tstamp 58E3B08E)
… and so far, I gather that:
- No keyword means “Free” “Move and Place”
-
placed
keyword means “Lock pads” “Move and Place” -
locked
keyword means “Lock footprint” “Move and Place”
Also:
-
layer F.Cu
means copper layer, “Board side” “Front” -
layer B.Cu
means copper layer, “Board side” “Back”
Is this correct so far; and is there an alternative way to obtain a similar list?