From bed617f72f320c0d7e87bc3d6d8c029c079f0b40 Mon Sep 17 00:00:00 2001 From: Diego Capusotto Date: Fri, 17 Dec 2021 16:15:02 -0300 Subject: [PATCH] Added v6 versions of the files needed by test_kicost.py --- .../kicad_6/kibom-variant_2c.kicad_sch | 291 ++++++++++++++++++ .../kicad_6/kibom-variant_2c.xml | 185 +++++++++++ 2 files changed, 476 insertions(+) create mode 100644 tests/board_samples/kicad_6/kibom-variant_2c.kicad_sch create mode 100644 tests/board_samples/kicad_6/kibom-variant_2c.xml diff --git a/tests/board_samples/kicad_6/kibom-variant_2c.kicad_sch b/tests/board_samples/kicad_6/kibom-variant_2c.kicad_sch new file mode 100644 index 00000000..dc38df46 --- /dev/null +++ b/tests/board_samples/kicad_6/kibom-variant_2c.kicad_sch @@ -0,0 +1,291 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid e6521bef-4109-48f7-8b88-4121b0468927) + + (paper "A4") + + (title_block + (title "KiCost Test Schematic") + (date "2021-04-06") + (rev "A") + (company "INTI - MyNT") + ) + + (lib_symbols + (symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes) + (property "Reference" "C" (id 0) (at 0.635 2.54 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "C" (id 1) (at 0.635 -2.54 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 0.9652 -3.81 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "cap capacitor" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Unpolarized capacitor" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "C_*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "C_0_1" + (polyline + (pts + (xy -2.032 -0.762) + (xy 2.032 -0.762) + ) + (stroke (width 0.508) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -2.032 0.762) + (xy 2.032 0.762) + ) + (stroke (width 0.508) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "C_1_1" + (pin passive line (at 0 3.81 270) (length 2.794) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -3.81 90) (length 2.794) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "R" (id 0) (at 2.032 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "R" (id 1) (at 0 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at -1.778 0 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "R res resistor" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Resistor" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "R_*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "R_0_1" + (rectangle (start -1.016 -2.54) (end 1.016 2.54) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "R_1_1" + (pin passive line (at 0 3.81 270) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -3.81 90) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + + (text "This schematic serves as a test-file for the KiBot export script.\n" + (at 12.7 15.24 0) + (effects (font (size 2.0066 2.0066)) (justify left bottom)) + (uuid 646d9e91-59b4-4865-a2fc-29780ed32563) + ) + (text "The test tests the following \nvariants matrix:\n production test default\nC1 X\nC2 X X\nR1 X X X\nR2 X X\n" + (at 151.13 66.04 0) + (effects (font (size 2.9972 2.9972)) (justify left bottom)) + (uuid 99030c03-63b4-49ba-b5ab-4d56974f7963) + ) + + (symbol (lib_id "Device:C") (at 25.4 43.18 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005f43bec2) + (property "Reference" "C1" (id 0) (at 28.321 42.0116 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "1nF" (id 1) (at 28.321 44.323 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 26.3652 46.99 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Config" "-production,+test" (id 4) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf" "Samsung" (id 5) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf#" "CL10B102KC8NNNC" (id 6) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "digikey#" "1276-1131-1-ND" (id 7) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "tolerance" "20%" (id 8) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "voltage" "50 V" (id 9) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "capacitance" "1000pF" (id 10) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid d34385b1-fadf-4359-a8b1-59e02579d7e5)) + (pin "2" (uuid 43c60605-74b4-4257-83a1-c4affa06551c)) + ) + + (symbol (lib_id "Device:C") (at 36.83 43.18 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005f43ce1c) + (property "Reference" "C2" (id 0) (at 39.751 42.0116 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "1000 pF" (id 1) (at 39.751 44.323 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 37.7952 46.99 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 36.83 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Config" "+production,+test" (id 4) (at 36.83 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf" "Samsung" (id 5) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf#" "CL10B102KC8NNNC" (id 6) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "digikey#" "1276-1131-1-ND" (id 7) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "voltage" "100 V" (id 8) (at 36.83 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "capacitance" "1000pF" (id 9) (at 36.83 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 98559c04-1edf-4a16-a403-ee803395c189)) + (pin "2" (uuid 198c8220-35a2-4b8b-97eb-1f4e2ae5b6f2)) + ) + + (symbol (lib_id "Device:R") (at 53.34 43.18 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005f43d144) + (property "Reference" "R1" (id 0) (at 55.118 42.0116 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "1k" (id 1) (at 55.118 44.323 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 51.562 43.18 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 53.34 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "test:Value" "3k3" (id 4) (at 53.34 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf" "Bourns" (id 5) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf#" "CR0603-JW-102ELF" (id 6) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "digikey#" "CR0603-JW-102ELFCT-ND" (id 7) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "test:manf#" "CR0603-JW-332ELF" (id 8) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "test:digikey#" "CR0603-JW-332ELFCT-ND" (id 9) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "tolerance" "1%" (id 10) (at 53.34 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Resistance" "1000" (id 11) (at 53.34 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 896391fa-77aa-4617-be63-4c92c9128a73)) + (pin "2" (uuid 1a585210-4cd2-4cf8-9787-2016b6bc4329)) + ) + + (symbol (lib_id "Device:R") (at 63.5 43.18 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005f43d4bb) + (property "Reference" "R2" (id 0) (at 65.278 42.0116 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "1000" (id 1) (at 65.278 44.323 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 61.722 43.18 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 63.5 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Config" "-test" (id 4) (at 63.5 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf" "Bourns" (id 5) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "manf#" "CR0603-JW-102ELF" (id 6) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "digikey#" "CR0603-JW-102ELFCT-ND" (id 7) (at 25.4 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Resistance" "1000" (id 8) (at 63.5 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid fe29d3b6-92be-4e54-a383-392356bcc809)) + (pin "2" (uuid 5fc03015-6f9b-4e08-9fd5-ba1cb6c63544)) + ) + + (sheet_instances + (path "/" (page "1")) + ) + + (symbol_instances + (path "/00000000-0000-0000-0000-00005f43bec2" + (reference "C1") (unit 1) (value "1nF") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005f43ce1c" + (reference "C2") (unit 1) (value "1000 pF") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005f43d144" + (reference "R1") (unit 1) (value "1k") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005f43d4bb" + (reference "R2") (unit 1) (value "1000") (footprint "") + ) + ) +) diff --git a/tests/board_samples/kicad_6/kibom-variant_2c.xml b/tests/board_samples/kicad_6/kibom-variant_2c.xml new file mode 100644 index 00000000..8de635fc --- /dev/null +++ b/tests/board_samples/kicad_6/kibom-variant_2c.xml @@ -0,0 +1,185 @@ + + + + /home/salvador/0Data/Eccosur/kibot/tests/board_samples/kicad_6/kibom-variant_2c.kicad_sch + mar 30 mar 2021 09:46:24 + Eeschema 6.0.0-rc1-unknown-rc1+332+gd00810c0fb + + + KiCost Test Schematic + INTI - MyNT + A + 2021-04-06 + kibom-variant_2c.kicad_sch + + + + + + + + + + + + + + + 1nF + + -production,+test + 1000pF + 1276-1131-1-ND + Samsung + CL10B102KC8NNNC + 20% + 50 V + + + + + + + + + + + + + 00000000-0000-0000-0000-00005f43bec2 + + + 1000 pF + + +production,+test + 1000pF + 1276-1131-1-ND + Samsung + CL10B102KC8NNNC + 100 V + + + + + + + + + + + + 00000000-0000-0000-0000-00005f43ce1c + + + 1k + + 1000 + CR0603-JW-102ELFCT-ND + Bourns + CR0603-JW-102ELF + 3k3 + CR0603-JW-332ELFCT-ND + CR0603-JW-332ELF + 1% + + + + + + + + + + + + + + 00000000-0000-0000-0000-00005f43d144 + + + 1000 + + -test + 1000 + CR0603-JW-102ELFCT-ND + Bourns + CR0603-JW-102ELF + + + + + + + + + + + 00000000-0000-0000-0000-00005f43d4bb + + + + + Unpolarized capacitor + ~ + + C_* + + + C + C + ~ + + + + + + + + Resistor + ~ + + R_* + + + R + R + ~ + + + + + + + + + + /usr/share/kicad/library/Device.lib + + + + + + + + + + + + + + + + + + + + + + + + + + + + +