aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-07-28 21:59:29 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-07-28 21:59:29 +0200
commitde9e6739543fd6a589b80184e5452a6a5cdb1196 (patch)
tree14caec7b165dfa0c0b35e0a94eb47b2f6a58e2be /demo
parent44c436ce849f9155706109e767fe7b1666172f7e (diff)
downloadee-python-de9e6739543fd6a589b80184e5452a6a5cdb1196.tar.gz
ee-python-de9e6739543fd6a589b80184e5452a6a5cdb1196.tar.bz2
ee-python-de9e6739543fd6a589b80184e5452a6a5cdb1196.tar.xz
ee-python-de9e6739543fd6a589b80184e5452a6a5cdb1196.zip
o Dumping MpnBomComponent, wtf.
o Renaming bom.csv to order.csv.
Diffstat (limited to 'demo')
-rw-r--r--demo/doit/demo.kicad_pcb130
-rw-r--r--demo/doit/demo.sch51
-rw-r--r--demo/doit/dodo.py13
-rw-r--r--demo/doit/ee/bom/bom-component/BT1.ini7
-rw-r--r--demo/doit/ee/bom/bom-component/C1.ini7
-rw-r--r--demo/doit/ee/bom/bom-component/R1.ini7
-rw-r--r--demo/doit/ee/bom/bom-component/R2.ini7
-rw-r--r--demo/doit/ee/bom/data-set.ini3
-rw-r--r--demo/doit/ee/kicad-pcb/data-set.ini3
-rw-r--r--demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC1DF.ini10
-rw-r--r--demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC36D.ini9
-rw-r--r--demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D0FE8.ini9
-rw-r--r--demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D10B5.ini9
-rw-r--r--demo/doit/ee/kicad-sch/data-set.ini3
-rw-r--r--demo/doit/ee/kicad-sch/kicad-schematic-component/5B431328.ini11
-rw-r--r--demo/doit/ee/kicad-sch/kicad-schematic-component/5B431438.ini11
-rw-r--r--demo/doit/ee/kicad-sch/kicad-schematic-component/5B4314AB.ini11
-rw-r--r--demo/doit/ee/kicad-sch/kicad-schematic-component/5B4315FE.ini9
-rw-r--r--demo/doit/ee/kicad-sch/kicad-schematic-component/5B5CC4D4.ini11
-rw-r--r--demo/doit/ee/order-100.csv4
-rw-r--r--demo/doit/ee/order.csv4
21 files changed, 253 insertions, 76 deletions
diff --git a/demo/doit/demo.kicad_pcb b/demo/doit/demo.kicad_pcb
index 27217da..fcb69aa 100644
--- a/demo/doit/demo.kicad_pcb
+++ b/demo/doit/demo.kicad_pcb
@@ -3,10 +3,10 @@
(general
(thickness 1.6)
(drawings 0)
- (tracks 7)
+ (tracks 10)
(zones 0)
- (modules 3)
- (nets 4)
+ (modules 4)
+ (nets 5)
)
(page A4)
@@ -93,6 +93,7 @@
(net 1 "Net-(BT1-Pad1)")
(net 2 GND)
(net 3 "Net-(C1-Pad1)")
+ (net 4 "Net-(R1-Pad1)")
(net_class Default "This is the default net class."
(clearance 0.2)
@@ -104,6 +105,7 @@
(add_net GND)
(add_net "Net-(BT1-Pad1)")
(add_net "Net-(C1-Pad1)")
+ (add_net "Net-(R1-Pad1)")
)
(module Battery:BatteryHolder_MPD_BC2AAPC_2xAA (layer F.Cu) (tedit 5AC8F8F7) (tstamp 5B5BC36D)
@@ -178,73 +180,84 @@
)
)
- (module Capacitor_THT:CP_Axial_L11.0mm_D8.0mm_P15.00mm_Horizontal (layer F.Cu) (tedit 5AE50EF2) (tstamp 5B5BC1CE)
- (at 46 76)
- (descr "CP, Axial series, Axial, Horizontal, pin pitch=15mm, , length*diameter=11*8mm^2, Electrolytic Capacitor, , http://www.vishay.com/docs/28325/021asm.pdf")
- (tags "CP Axial series Axial Horizontal pin pitch 15mm length 11mm diameter 8mm Electrolytic Capacitor")
+ (module Resistor_SMD:R_1206_3216Metric (layer F.Cu) (tedit 5B20DC38) (tstamp 5B5BC1DF)
+ (at 60 61.4 90)
+ (descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
+ (tags resistor)
+ (path /5B431328)
+ (attr smd)
+ (fp_text reference R1 (at 0 -1.82 90) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value 10k (at 0 1.82 90) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start -0.602064 -0.91) (end 0.602064 -0.91) (layer F.SilkS) (width 0.12))
+ (fp_line (start -0.602064 0.91) (end 0.602064 0.91) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.28 1.12) (end -2.28 -1.12) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.28 1.12) (end -2.28 1.12) (layer F.CrtYd) (width 0.05))
+ (fp_text user %R (at 0 0 90) (layer F.Fab)
+ (effects (font (size 0.8 0.8) (thickness 0.12)))
+ )
+ (pad 1 smd roundrect (at -1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
+ (net 4 "Net-(R1-Pad1)"))
+ (pad 2 smd roundrect (at 1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
+ (net 1 "Net-(BT1-Pad1)"))
+ (model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Capacitor_THT:CP_Radial_Tantal_D10.5mm_P5.00mm (layer F.Cu) (tedit 5AE50EF0) (tstamp 5B5D0FE8)
+ (at 51.25 76)
+ (descr "CP, Radial_Tantal series, Radial, pin pitch=5.00mm, , diameter=10.5mm, Tantal Electrolytic Capacitor, http://cdn-reichelt.de/documents/datenblatt/B300/TANTAL-TB-Serie%23.pdf")
+ (tags "CP Radial_Tantal series Radial pin pitch 5.00mm diameter 10.5mm Tantal Electrolytic Capacitor")
(path /5B4314AB)
- (fp_text reference C1 (at 7.5 -5.12) (layer F.SilkS)
+ (fp_text reference C1 (at 2.5 -6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
- (fp_text value 1u (at 7.5 5.12) (layer F.Fab)
+ (fp_text value 1u (at 2.5 6.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
- (fp_line (start 2 -4) (end 2 4) (layer F.Fab) (width 0.1))
- (fp_line (start 13 -4) (end 13 4) (layer F.Fab) (width 0.1))
- (fp_line (start 2 -4) (end 3.38 -4) (layer F.Fab) (width 0.1))
- (fp_line (start 3.38 -4) (end 4.13 -3.25) (layer F.Fab) (width 0.1))
- (fp_line (start 4.13 -3.25) (end 4.88 -4) (layer F.Fab) (width 0.1))
- (fp_line (start 4.88 -4) (end 13 -4) (layer F.Fab) (width 0.1))
- (fp_line (start 2 4) (end 3.38 4) (layer F.Fab) (width 0.1))
- (fp_line (start 3.38 4) (end 4.13 3.25) (layer F.Fab) (width 0.1))
- (fp_line (start 4.13 3.25) (end 4.88 4) (layer F.Fab) (width 0.1))
- (fp_line (start 4.88 4) (end 13 4) (layer F.Fab) (width 0.1))
- (fp_line (start 0 0) (end 2 0) (layer F.Fab) (width 0.1))
- (fp_line (start 15 0) (end 13 0) (layer F.Fab) (width 0.1))
- (fp_line (start 3.4 0) (end 4.9 0) (layer F.Fab) (width 0.1))
- (fp_line (start 4.15 -0.75) (end 4.15 0.75) (layer F.Fab) (width 0.1))
- (fp_line (start 0.13 -2.2) (end 1.63 -2.2) (layer F.SilkS) (width 0.12))
- (fp_line (start 0.88 -2.95) (end 0.88 -1.45) (layer F.SilkS) (width 0.12))
- (fp_line (start 1.88 -4.12) (end 1.88 4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 13.12 -4.12) (end 13.12 4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 1.88 -4.12) (end 3.38 -4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 3.38 -4.12) (end 4.13 -3.37) (layer F.SilkS) (width 0.12))
- (fp_line (start 4.13 -3.37) (end 4.88 -4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 4.88 -4.12) (end 13.12 -4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 1.88 4.12) (end 3.38 4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 3.38 4.12) (end 4.13 3.37) (layer F.SilkS) (width 0.12))
- (fp_line (start 4.13 3.37) (end 4.88 4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 4.88 4.12) (end 13.12 4.12) (layer F.SilkS) (width 0.12))
- (fp_line (start 1.24 0) (end 1.88 0) (layer F.SilkS) (width 0.12))
- (fp_line (start 13.76 0) (end 13.12 0) (layer F.SilkS) (width 0.12))
- (fp_line (start -1.25 -4.25) (end -1.25 4.25) (layer F.CrtYd) (width 0.05))
- (fp_line (start -1.25 4.25) (end 16.25 4.25) (layer F.CrtYd) (width 0.05))
- (fp_line (start 16.25 4.25) (end 16.25 -4.25) (layer F.CrtYd) (width 0.05))
- (fp_line (start 16.25 -4.25) (end -1.25 -4.25) (layer F.CrtYd) (width 0.05))
- (fp_text user %R (at 7.5 0) (layer F.Fab)
+ (fp_circle (center 2.5 0) (end 7.75 0) (layer F.Fab) (width 0.1))
+ (fp_circle (center 2.5 0) (end 7.87 0) (layer F.SilkS) (width 0.12))
+ (fp_circle (center 2.5 0) (end 8 0) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.004387 -2.2975) (end -0.954387 -2.2975) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.479387 -2.8225) (end -1.479387 -1.7725) (layer F.Fab) (width 0.1))
+ (fp_line (start -3.247133 -3.015) (end -2.197133 -3.015) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.722133 -3.54) (end -2.722133 -2.49) (layer F.SilkS) (width 0.12))
+ (fp_text user %R (at 2.5 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
- (pad 1 thru_hole rect (at 0 0) (size 2 2) (drill 1) (layers *.Cu *.Mask)
+ (pad 1 thru_hole rect (at 0 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
(net 3 "Net-(C1-Pad1)"))
- (pad 2 thru_hole oval (at 15 0) (size 2 2) (drill 1) (layers *.Cu *.Mask)
+ (pad 2 thru_hole circle (at 5 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
(net 2 GND))
- (model ${KISYS3DMOD}/Capacitor_THT.3dshapes/CP_Axial_L11.0mm_D8.0mm_P15.00mm_Horizontal.wrl
+ (model ${KISYS3DMOD}/Capacitor_THT.3dshapes/CP_Radial_Tantal_D10.5mm_P5.00mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
- (module Resistor_SMD:R_1206_3216Metric (layer F.Cu) (tedit 5B20DC38) (tstamp 5B5BC1DF)
- (at 60 61.4 90)
+ (module Resistor_SMD:R_1206_3216Metric (layer F.Cu) (tedit 5B20DC38) (tstamp 5B5D10B5)
+ (at 58.75 66.5)
(descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags resistor)
- (path /5B431328)
+ (path /5B5CC4D4)
(attr smd)
- (fp_text reference R1 (at 0 -1.82 90) (layer F.SilkS)
+ (fp_text reference R2 (at 0 -1.82) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
- (fp_text value 10k (at 0 1.82 90) (layer F.Fab)
+ (fp_text value 10k (at 0 1.82) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
@@ -257,13 +270,13 @@
(fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.28 1.12) (end -2.28 1.12) (layer F.CrtYd) (width 0.05))
- (fp_text user %R (at 0 0 90) (layer F.Fab)
+ (fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 0.8 0.8) (thickness 0.12)))
)
- (pad 1 smd roundrect (at -1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
+ (pad 1 smd roundrect (at -1.4 0) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
(net 3 "Net-(C1-Pad1)"))
- (pad 2 smd roundrect (at 1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
- (net 1 "Net-(BT1-Pad1)"))
+ (pad 2 smd roundrect (at 1.4 0) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
+ (net 4 "Net-(R1-Pad1)"))
(model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
@@ -275,8 +288,11 @@
(segment (start 60 60) (end 71.25 60) (width 0.25) (layer F.Cu) (net 1))
(segment (start 62.91 74.09) (end 61 76) (width 0.25) (layer B.Cu) (net 2))
(segment (start 71.75 74.09) (end 62.91 74.09) (width 0.25) (layer B.Cu) (net 2))
- (segment (start 60 62.8) (end 46.45 62.8) (width 0.25) (layer F.Cu) (net 3))
- (segment (start 46 63.25) (end 46 76) (width 0.25) (layer F.Cu) (net 3))
- (segment (start 46.45 62.8) (end 46 63.25) (width 0.25) (layer F.Cu) (net 3))
+ (segment (start 56.25 76) (end 61 76) (width 0.25) (layer B.Cu) (net 2))
+ (segment (start 53.25 66.5) (end 51.25 68.5) (width 0.25) (layer F.Cu) (net 3))
+ (segment (start 57.35 66.5) (end 53.25 66.5) (width 0.25) (layer F.Cu) (net 3))
+ (segment (start 51.25 76) (end 51.25 68.5) (width 0.25) (layer F.Cu) (net 3))
+ (segment (start 60 66.35) (end 60.15 66.5) (width 0.25) (layer F.Cu) (net 4))
+ (segment (start 60 62.8) (end 60 66.35) (width 0.25) (layer F.Cu) (net 4))
)
diff --git a/demo/doit/demo.sch b/demo/doit/demo.sch
index 9ccb57c..37a2ff9 100644
--- a/demo/doit/demo.sch
+++ b/demo/doit/demo.sch
@@ -17,12 +17,13 @@ $EndDescr
$Comp
L Device:R R1
U 1 1 5B431328
-P 4350 2600
-F 0 "R1" V 4143 2600 50 0000 C CNN
-F 1 "10k" V 4234 2600 50 0000 C CNN
-F 2 "Resistor_SMD:R_1206_3216Metric" V 4280 2600 50 0001 C CNN
-F 3 "~" H 4350 2600 50 0001 C CNN
- 1 4350 2600
+P 4150 2600
+F 0 "R1" V 3943 2600 50 0000 C CNN
+F 1 "10k" V 4034 2600 50 0000 C CNN
+F 2 "Resistor_SMD:R_1206_3216Metric" V 4080 2600 50 0001 C CNN
+F 3 "~" H 4150 2600 50 0001 C CNN
+F 4 "RMCF1206JT10K0" V 4150 2600 50 0001 C CNN "mpn"
+ 1 4150 2600
0 1 1 0
$EndComp
$Comp
@@ -33,24 +34,26 @@ F 0 "BT1" H 3818 2996 50 0000 L CNN
F 1 "9V" H 3818 2905 50 0000 L CNN
F 2 "Battery:BatteryHolder_MPD_BC2AAPC_2xAA" V 3700 2960 50 0001 C CNN
F 3 "~" V 3700 2960 50 0001 C CNN
+F 4 "BC2AAPC" H 3700 2900 50 0001 C CNN "mpn"
1 3700 2900
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 5B4314AB
-P 5000 2850
-F 0 "C1" H 5115 2896 50 0000 L CNN
-F 1 "1u" H 5115 2805 50 0000 L CNN
-F 2 "Capacitor_THT:CP_Axial_L11.0mm_D8.0mm_P15.00mm_Horizontal" H 5038 2700 50 0001 C CNN
-F 3 "~" H 5000 2850 50 0001 C CNN
- 1 5000 2850
+P 5100 2850
+F 0 "C1" H 5215 2896 50 0000 L CNN
+F 1 "1u" H 5215 2805 50 0000 L CNN
+F 2 "Capacitor_THT:CP_Radial_Tantal_D10.5mm_P5.00mm" H 5138 2700 50 0001 C CNN
+F 3 "~" H 5100 2850 50 0001 C CNN
+F 4 "UCA2G100MPD1TD" H 5100 2850 50 0001 C CNN "mpn"
+ 1 5100 2850
1 0 0 -1
$EndComp
Wire Wire Line
3700 3000 3700 3100
Wire Wire Line
- 5000 3100 5000 3000
+ 5100 3100 5100 3000
$Comp
L power:GND #PWR0101
U 1 1 5B4315FE
@@ -68,11 +71,25 @@ Connection ~ 3700 3100
Wire Wire Line
3700 2700 3700 2600
Wire Wire Line
- 5000 2600 5000 2700
+ 5100 2600 5100 2700
Wire Wire Line
- 3700 2600 4200 2600
+ 3700 2600 4000 2600
Wire Wire Line
- 3700 3100 5000 3100
+ 3700 3100 5100 3100
Wire Wire Line
- 4500 2600 5000 2600
+ 4300 2600 4500 2600
+$Comp
+L Device:R R2
+U 1 1 5B5CC4D4
+P 4650 2600
+F 0 "R2" V 4443 2600 50 0000 C CNN
+F 1 "10k" V 4534 2600 50 0000 C CNN
+F 2 "Resistor_SMD:R_1206_3216Metric" V 4580 2600 50 0001 C CNN
+F 3 "~" H 4650 2600 50 0001 C CNN
+F 4 "RMCF1206JT10K0" V 4650 2600 50 0001 C CNN "mpn"
+ 1 4650 2600
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4800 2600 5100 2600
$EndSCHEMATC
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py
index 1f5fec8..c5372fc 100644
--- a/demo/doit/dodo.py
+++ b/demo/doit/dodo.py
@@ -1,8 +1,7 @@
+import ee.doit
import ee.kicad.doit
-import ee.bom.doit
# noinspection PyUnresolvedReferences
from ee.bom.doit import *
-from ee.ds import DataSetManager
from ee.kicad.doit import *
prj = "demo"
@@ -11,6 +10,8 @@ kicad_pcb = "{}.kicad_pcb".format(prj)
DOIT_CONFIG = {'check_file_uptodate': 'timestamp'}
+ee.doit.configure_logging()
+
dsm = DataSetManager("ee")
kicad_footprint = "kicad-footprint"
@@ -28,3 +29,11 @@ ee.kicad.doit.init(
ee.bom.doit.init(
data_set_manager=dsm,
)
+
+
+def task_orders():
+ data_sets = [ee.bom.doit.output_data_set_for_task(task_bom)]
+ for size in [1, 100]:
+ yield create_task_order_csv("ee/order-{}.csv".format(size) if size != 1 else "ee/order.csv",
+ data_sets,
+ count=size)
diff --git a/demo/doit/ee/bom/bom-component/BT1.ini b/demo/doit/ee/bom/bom-component/BT1.ini
new file mode 100644
index 0000000..b65c2f0
--- /dev/null
+++ b/demo/doit/ee/bom/bom-component/BT1.ini
@@ -0,0 +1,7 @@
+[meta]
+type = bom-component
+
+[values]
+ref = BT1
+mpn = BC2AAPC
+
diff --git a/demo/doit/ee/bom/bom-component/C1.ini b/demo/doit/ee/bom/bom-component/C1.ini
new file mode 100644
index 0000000..ceee93c
--- /dev/null
+++ b/demo/doit/ee/bom/bom-component/C1.ini
@@ -0,0 +1,7 @@
+[meta]
+type = bom-component
+
+[values]
+ref = C1
+mpn = UCA2G100MPD1TD
+
diff --git a/demo/doit/ee/bom/bom-component/R1.ini b/demo/doit/ee/bom/bom-component/R1.ini
new file mode 100644
index 0000000..f76332b
--- /dev/null
+++ b/demo/doit/ee/bom/bom-component/R1.ini
@@ -0,0 +1,7 @@
+[meta]
+type = bom-component
+
+[values]
+ref = R1
+mpn = RMCF1206JT10K0
+
diff --git a/demo/doit/ee/bom/bom-component/R2.ini b/demo/doit/ee/bom/bom-component/R2.ini
new file mode 100644
index 0000000..301daa1
--- /dev/null
+++ b/demo/doit/ee/bom/bom-component/R2.ini
@@ -0,0 +1,7 @@
+[meta]
+type = bom-component
+
+[values]
+ref = R2
+mpn = RMCF1206JT10K0
+
diff --git a/demo/doit/ee/bom/data-set.ini b/demo/doit/ee/bom/data-set.ini
new file mode 100644
index 0000000..e915b00
--- /dev/null
+++ b/demo/doit/ee/bom/data-set.ini
@@ -0,0 +1,3 @@
+[data-set]
+name = bom
+
diff --git a/demo/doit/ee/kicad-pcb/data-set.ini b/demo/doit/ee/kicad-pcb/data-set.ini
new file mode 100644
index 0000000..7229def
--- /dev/null
+++ b/demo/doit/ee/kicad-pcb/data-set.ini
@@ -0,0 +1,3 @@
+[data-set]
+name = kicad-pcb
+
diff --git a/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC1DF.ini b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC1DF.ini
new file mode 100644
index 0000000..bffc18c
--- /dev/null
+++ b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC1DF.ini
@@ -0,0 +1,10 @@
+[meta]
+type = kicad-pcb-component
+
+[values]
+ref = R1
+placement-x = 60.0
+placement-y = 61.4
+placement-rotation = 90.0
+layer = F.Cu
+
diff --git a/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC36D.ini b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC36D.ini
new file mode 100644
index 0000000..42cab19
--- /dev/null
+++ b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5BC36D.ini
@@ -0,0 +1,9 @@
+[meta]
+type = kicad-pcb-component
+
+[values]
+ref = BT1
+placement-x = 71.75
+placement-y = 60.5
+layer = F.Cu
+
diff --git a/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D0FE8.ini b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D0FE8.ini
new file mode 100644
index 0000000..41df177
--- /dev/null
+++ b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D0FE8.ini
@@ -0,0 +1,9 @@
+[meta]
+type = kicad-pcb-component
+
+[values]
+ref = C1
+placement-x = 51.25
+placement-y = 76.0
+layer = F.Cu
+
diff --git a/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D10B5.ini b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D10B5.ini
new file mode 100644
index 0000000..4e39ba0
--- /dev/null
+++ b/demo/doit/ee/kicad-pcb/kicad-pcb-component/5B5D10B5.ini
@@ -0,0 +1,9 @@
+[meta]
+type = kicad-pcb-component
+
+[values]
+ref = R2
+placement-x = 58.75
+placement-y = 66.5
+layer = F.Cu
+
diff --git a/demo/doit/ee/kicad-sch/data-set.ini b/demo/doit/ee/kicad-sch/data-set.ini
new file mode 100644
index 0000000..23c66c7
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/data-set.ini
@@ -0,0 +1,3 @@
+[data-set]
+name = kicad-sch
+
diff --git a/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431328.ini b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431328.ini
new file mode 100644
index 0000000..5bec452
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431328.ini
@@ -0,0 +1,11 @@
+[meta]
+type = kicad-schematic-component
+
+[values]
+ref = R1
+ref-type = R
+ref-num = 1
+value = 10k
+footprint = Resistor_SMD:R_1206_3216Metric
+field-mpn = RMCF1206JT10K0
+
diff --git a/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431438.ini b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431438.ini
new file mode 100644
index 0000000..aa748e4
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B431438.ini
@@ -0,0 +1,11 @@
+[meta]
+type = kicad-schematic-component
+
+[values]
+ref = BT1
+ref-type = BT
+ref-num = 1
+value = 9V
+footprint = Battery:BatteryHolder_MPD_BC2AAPC_2xAA
+field-mpn = BC2AAPC
+
diff --git a/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4314AB.ini b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4314AB.ini
new file mode 100644
index 0000000..30f9a91
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4314AB.ini
@@ -0,0 +1,11 @@
+[meta]
+type = kicad-schematic-component
+
+[values]
+ref = C1
+ref-type = C
+ref-num = 1
+value = 1u
+footprint = Capacitor_THT:CP_Radial_Tantal_D10.5mm_P5.00mm
+field-mpn = UCA2G100MPD1TD
+
diff --git a/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4315FE.ini b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4315FE.ini
new file mode 100644
index 0000000..5896e1c
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B4315FE.ini
@@ -0,0 +1,9 @@
+[meta]
+type = kicad-schematic-component
+
+[values]
+ref = #PWR0101
+ref-type = #PWR
+ref-num = 101
+value = GND
+
diff --git a/demo/doit/ee/kicad-sch/kicad-schematic-component/5B5CC4D4.ini b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B5CC4D4.ini
new file mode 100644
index 0000000..65ed524
--- /dev/null
+++ b/demo/doit/ee/kicad-sch/kicad-schematic-component/5B5CC4D4.ini
@@ -0,0 +1,11 @@
+[meta]
+type = kicad-schematic-component
+
+[values]
+ref = R2
+ref-type = R
+ref-num = 2
+value = 10k
+footprint = Resistor_SMD:R_1206_3216Metric
+field-mpn = RMCF1206JT10K0
+
diff --git a/demo/doit/ee/order-100.csv b/demo/doit/ee/order-100.csv
new file mode 100644
index 0000000..4f5b439
--- /dev/null
+++ b/demo/doit/ee/order-100.csv
@@ -0,0 +1,4 @@
+MPN,Count,References
+BC2AAPC,100,BT1
+RMCF1206JT10K0,200,"R2,R1"
+UCA2G100MPD1TD,100,C1
diff --git a/demo/doit/ee/order.csv b/demo/doit/ee/order.csv
new file mode 100644
index 0000000..9722390
--- /dev/null
+++ b/demo/doit/ee/order.csv
@@ -0,0 +1,4 @@
+MPN,Count,References
+BC2AAPC,1,BT1
+RMCF1206JT10K0,2,"R2,R1"
+UCA2G100MPD1TD,1,C1