~kdsch/learn-git-kicad

ccb0ad88f5dbcda62859c227bd1941fc9fc3f411 — Karl Schultheisz 3 years ago 9531b8b
tidy up
9 files changed, 64 insertions(+), 55 deletions(-)

M README.md
R C315C104M5U5TA.kicad_mod => footprint/C315C104M5U5TA.kicad_mod
R RNMF14FTC1K00.kicad_mod => footprint/RNMF14FTC1K00.kicad_mod
M fp-lib-table
M learn-git-kicad.kicad_pcb
M learn-git-kicad.sch
R symbols.dcm => local.dcm
R symbols.lib => local.lib
M sym-lib-table
M README.md => README.md +9 -0
@@ 458,4 458,13 @@ Now we can use that symbol in the schematic.

# What about adding footprints?

Easy. Just move the file into the project directory, which adds it
to the footprint library.


# Tidying up

Let's

- rename symbols.lib to local.lib
- move the footprints into a subdirectory

R C315C104M5U5TA.kicad_mod => footprint/C315C104M5U5TA.kicad_mod +0 -0
R RNMF14FTC1K00.kicad_mod => footprint/RNMF14FTC1K00.kicad_mod +0 -0
M fp-lib-table => fp-lib-table +1 -1
@@ 1,3 1,3 @@
(fp_lib_table
  (lib (name learn-git-kicad)(type KiCad)(uri ${KIPRJMOD})(options "")(descr ""))
  (lib (name footprint)(type KiCad)(uri ${KIPRJMOD}/footprint)(options "")(descr ""))
)

M learn-git-kicad.kicad_pcb => learn-git-kicad.kicad_pcb +49 -49
@@ 104,13 104,59 @@
    (add_net "Net-(C1-Pad2)")
  )

  (module learn-git-kicad:C315C104M5U5TA (layer F.Cu) (tedit 0) (tstamp 60C2D2C5)
  (module footprint:RNMF14FTC1K00 (layer F.Cu) (tedit 0) (tstamp 60C2D377)
    (at 151.9 108.2)
    (path /60C0EDEC)
    (fp_text reference R1 (at 3.81 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text value 1k (at 3.81 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text user * (at 0 0) (layer F.Fab)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text user * (at 0 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text user "Copyright 2021 Accelerated Designs. All rights reserved." (at 0 0) (layer Cmts.User)
      (effects (font (size 0.127 0.127) (thickness 0.002)))
    )
    (fp_line (start 0 0) (end 2.0066 0) (layer F.Fab) (width 0.1))
    (fp_line (start 7.62 0) (end 5.6134 0) (layer F.Fab) (width 0.1))
    (fp_line (start 2.0066 0.9271) (end 5.6134 0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 5.6134 0.9271) (end 5.6134 -0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 5.6134 -0.9271) (end 2.0066 -0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 2.0066 -0.9271) (end 2.0066 0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 1.8796 1.0541) (end 5.7404 1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 5.7404 1.0541) (end 5.7404 -1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 5.7404 -1.0541) (end 1.8796 -1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 1.8796 -1.0541) (end 1.8796 1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start -0.8763 0.8763) (end -0.8763 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start -0.8763 -0.8763) (end 1.7526 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 -0.8763) (end 1.7526 -1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 -1.1811) (end 5.8674 -1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 -1.1811) (end 5.8674 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 -0.8763) (end 8.4963 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 8.4963 -0.8763) (end 8.4963 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 8.4963 0.8763) (end 5.8674 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 0.8763) (end 5.8674 1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 1.1811) (end 1.7526 1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 1.1811) (end 1.7526 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 0.8763) (end -0.8763 0.8763) (layer F.CrtYd) (width 0.05))
    (pad 2 thru_hole circle (at 7.62 0) (size 1.2446 1.2446) (drill 0.7366) (layers *.Cu *.Mask)
      (net 1 "Net-(C1-Pad2)"))
    (pad 1 thru_hole rect (at 0 0) (size 1.2446 1.2446) (drill 0.7366) (layers *.Cu *.Mask)
      (net 2 "Net-(C1-Pad1)"))
  )

  (module footprint:C315C104M5U5TA (layer F.Cu) (tedit 0) (tstamp 60C2D2C5)
    (at 154.3 112.4)
    (path /60C2BDC4)
    (fp_text reference C1 (at -2.5 -1.4) (layer F.SilkS)
    (fp_text reference C1 (at 1.27 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text value 100n (at 4.3 -0.1 90) (layer F.SilkS)
    (fp_text value 100n (at 1.27 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_arc (start 1.524 0) (end 1.524 1.778) (angle 64.355713) (layer F.SilkS) (width 0.12))


@@ 146,52 192,6 @@
      (net 2 "Net-(C1-Pad1)"))
  )

  (module learn-git-kicad:RNMF14FTC1K00 (layer F.Cu) (tedit 0) (tstamp 60C2D377)
    (at 151.9 108.2)
    (path /60C0EDEC)
    (fp_text reference R1 (at 3.7 -2.1) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text value 1k (at 6 -2.1) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_line (start 1.7526 0.8763) (end -0.8763 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 1.1811) (end 1.7526 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 1.1811) (end 1.7526 1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 0.8763) (end 5.8674 1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 8.4963 0.8763) (end 5.8674 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 8.4963 -0.8763) (end 8.4963 0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 -0.8763) (end 8.4963 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 5.8674 -1.1811) (end 5.8674 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 -1.1811) (end 5.8674 -1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.7526 -0.8763) (end 1.7526 -1.1811) (layer F.CrtYd) (width 0.05))
    (fp_line (start -0.8763 -0.8763) (end 1.7526 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start -0.8763 0.8763) (end -0.8763 -0.8763) (layer F.CrtYd) (width 0.05))
    (fp_line (start 1.8796 -1.0541) (end 1.8796 1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 5.7404 -1.0541) (end 1.8796 -1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 5.7404 1.0541) (end 5.7404 -1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 1.8796 1.0541) (end 5.7404 1.0541) (layer F.SilkS) (width 0.12))
    (fp_line (start 2.0066 -0.9271) (end 2.0066 0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 5.6134 -0.9271) (end 2.0066 -0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 5.6134 0.9271) (end 5.6134 -0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 2.0066 0.9271) (end 5.6134 0.9271) (layer F.Fab) (width 0.1))
    (fp_line (start 7.62 0) (end 5.6134 0) (layer F.Fab) (width 0.1))
    (fp_line (start 0 0) (end 2.0066 0) (layer F.Fab) (width 0.1))
    (fp_text user * (at 0 0) (layer F.Fab)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text user * (at 0 0) (layer F.SilkS)
      (effects (font (size 1 1) (thickness 0.15)))
    )
    (fp_text user "Copyright 2021 Accelerated Designs. All rights reserved." (at 3.7 1.4) (layer Cmts.User)
      (effects (font (size 0.127 0.127) (thickness 0.002)))
    )
    (pad 2 thru_hole circle (at 7.62 0) (size 1.2446 1.2446) (drill 0.7366) (layers *.Cu *.Mask)
      (net 1 "Net-(C1-Pad2)"))
    (pad 1 thru_hole rect (at 0 0) (size 1.2446 1.2446) (drill 0.7366) (layers *.Cu *.Mask)
      (net 2 "Net-(C1-Pad1)"))
  )

  (gr_line (start 150 115.6) (end 150 105.3) (layer Edge.Cuts) (width 0.05) (tstamp 60C2407B))
  (gr_line (start 161.2 115.6) (end 150 115.6) (layer Edge.Cuts) (width 0.05))
  (gr_line (start 161.2 105.3) (end 161.2 115.6) (layer Edge.Cuts) (width 0.05))

M learn-git-kicad.sch => learn-git-kicad.sch +4 -4
@@ 14,24 14,24 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L symbols:R R1
L local:R R1
U 1 1 60C0EDEC
P 3900 2850
F 0 "R1" H 3970 2896 50  0000 L CNN
F 1 "1k" H 3970 2805 50  0000 L CNN
F 2 "learn-git-kicad:RNMF14FTC1K00" V 3830 2850 50  0001 C CNN
F 2 "footprint:RNMF14FTC1K00" V 3830 2850 50  0001 C CNN
F 3 "https://www.seielect.com/catalog/sei-rnf_rnmf.pdf" H 3900 2850 50  0001 C CNN
F 4 "RNMF14FTC1K00" H 3900 2850 50  0001 C CNN "MPN"
	1    3900 2850
	1    0    0    -1  
$EndComp
$Comp
L symbols:C C1
L local:C C1
U 1 1 60C2BDC4
P 4350 2850
F 0 "C1" H 4465 2896 50  0000 L CNN
F 1 "100n" H 4465 2805 50  0000 L CNN
F 2 "learn-git-kicad:C315C104M5U5TA" H 4388 2700 50  0001 C CNN
F 2 "footprint:C315C104M5U5TA" H 4388 2700 50  0001 C CNN
F 3 "https://api.kemet.com/component-edge/download/datasheet/C315C104M5U5TA.pdf" H 4350 2850 50  0001 C CNN
F 4 "C315C104M5U5TA" H 4350 2850 50  0001 C CNN "MPN"
	1    4350 2850

R symbols.dcm => local.dcm +0 -0
R symbols.lib => local.lib +0 -0
M sym-lib-table => sym-lib-table +1 -1
@@ 1,3 1,3 @@
(sym_lib_table
  (lib (name symbols)(type Legacy)(uri ${KIPRJMOD}/symbols.lib)(options "")(descr ""))
  (lib (name local)(type Legacy)(uri ${KIPRJMOD}/local.lib)(options "")(descr ""))
))