Splitted other example tables

This commit is contained in:
Salvador E. Tropea 2021-02-05 11:19:53 -03:00
parent e776aaa1c2
commit 8352d3ef94
2 changed files with 86 additions and 104 deletions

View File

@ -1383,23 +1383,20 @@ And get `test_merge/BoM/merge_1-bom.csv`:
| 1 | Unpolarized capacitor | C | C1 | 1nF | | 1 | | ~ |
| 2 | Unpolarized capacitor | C | C2 | 10nF | | 1 | | ~ |
| 3 | Resistor | R | R1-R3 | 1k | | 3 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_1 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-02-02_12-12-27 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 3 | | | | | | | |
| Component Count: | 5 | | | | | | | |
| Fitted Components: | 5 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 5 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_1 |
| Variant: | default |
| Revision: | |
| Date: | 2021-02-02_12-12-27 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 3 |
| Component Count: | 5 |
| Fitted Components: | 5 |
| Number of PCBs: | 1 |
| Total Components: | 5 |
This CSV says you have five components groped in three different types. They are one 1 nF capacitor, one 10 nF capacitor and three 1 k resistors.
Now lets generate BoMs for the *merge_2* example:
@ -1416,23 +1413,20 @@ We'll get `test_merge/BoM/merge_2-bom.csv`:
| 2 | Unpolarized capacitor | C | C1 | 10nF | | 1 | | ~ |
| 3 | Resistor | R | R2-R4 | 1000 | | 3 | | ~ |
| 4 | Resistor | R | R1 | 10k | | 1 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_2 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-01-27_10-19-46 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 4 | | | | | | | |
| Component Count: | 6 | | | | | | | |
| Fitted Components: | 6 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 6 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_2 |
| Variant: | default |
| Revision: | |
| Date: | 2021-01-27_10-19-46 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 4 |
| Component Count: | 6 |
| Fitted Components: | 6 |
| Number of PCBs: | 1 |
| Total Components: | 6 |
In this project we have six components from four different types. They are similar to *merge_1* but now we also have a 10 k resistor.
We don't need to generate this BoM to consolidate our projects, but is good to know what we have.
@ -1448,23 +1442,20 @@ We'll get `test_merge/BoM/merge_3-bom.csv`:
|--------------------|-----------------------------------|------|------------|-------|-----------|------------------|--------|-----------|
| 1 | Resistor | R | R5 | 1k | | 1 | | ~ |
| 2 | Resistor | R | R1-R4 | 10k | | 4 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_3 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-01-27_10-21-29 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 2 | | | | | | | |
| Component Count: | 5 | | | | | | | |
| Fitted Components: | 5 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 5 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_3 |
| Variant: | default |
| Revision: | |
| Date: | 2021-01-27_10-21-29 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 2 |
| Component Count: | 5 |
| Fitted Components: | 5 |
| Number of PCBs: | 1 |
| Total Components: | 5 |
This time we also have five components, but from two different types. They are one 1 k resistor and four 10 k resistors.
Now suppose we want to create 10 boards for *merge_1*, 20 for *merge_2* and 30 for *merge_3*.
@ -1507,7 +1498,7 @@ The `test_merge_consolidate/BoM/merge_1-bom.csv` file will be generated containi
| Project info: | |
|--------------------|-----------------------------------|
| Variant: | default |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Global statistics: | |
| Component Groups: | 4 |
| Component Count: | 16 |

View File

@ -509,23 +509,20 @@ And get `test_merge/BoM/merge_1-bom.csv`:
| 1 | Unpolarized capacitor | C | C1 | 1nF | | 1 | | ~ |
| 2 | Unpolarized capacitor | C | C2 | 10nF | | 1 | | ~ |
| 3 | Resistor | R | R1-R3 | 1k | | 3 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_1 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-02-02_12-12-27 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 3 | | | | | | | |
| Component Count: | 5 | | | | | | | |
| Fitted Components: | 5 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 5 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_1 |
| Variant: | default |
| Revision: | |
| Date: | 2021-02-02_12-12-27 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 3 |
| Component Count: | 5 |
| Fitted Components: | 5 |
| Number of PCBs: | 1 |
| Total Components: | 5 |
This CSV says you have five components groped in three different types. They are one 1 nF capacitor, one 10 nF capacitor and three 1 k resistors.
Now lets generate BoMs for the *merge_2* example:
@ -542,23 +539,20 @@ We'll get `test_merge/BoM/merge_2-bom.csv`:
| 2 | Unpolarized capacitor | C | C1 | 10nF | | 1 | | ~ |
| 3 | Resistor | R | R2-R4 | 1000 | | 3 | | ~ |
| 4 | Resistor | R | R1 | 10k | | 1 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_2 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-01-27_10-19-46 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 4 | | | | | | | |
| Component Count: | 6 | | | | | | | |
| Fitted Components: | 6 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 6 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_2 |
| Variant: | default |
| Revision: | |
| Date: | 2021-01-27_10-19-46 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 4 |
| Component Count: | 6 |
| Fitted Components: | 6 |
| Number of PCBs: | 1 |
| Total Components: | 6 |
In this project we have six components from four different types. They are similar to *merge_1* but now we also have a 10 k resistor.
We don't need to generate this BoM to consolidate our projects, but is good to know what we have.
@ -574,23 +568,20 @@ We'll get `test_merge/BoM/merge_3-bom.csv`:
|--------------------|-----------------------------------|------|------------|-------|-----------|------------------|--------|-----------|
| 1 | Resistor | R | R5 | 1k | | 1 | | ~ |
| 2 | Resistor | R | R1-R4 | 10k | | 4 | | ~ |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| Project info: | | | | | | | | |
| Schematic: | merge_3 | | | | | | | |
| Variant: | default | | | | | | | |
| Revision: | | | | | | | | |
| Date: | 2021-01-27_10-21-29 | | | | | | | |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 | | | | | | | |
| Statistics: | | | | | | | | |
| Component Groups: | 2 | | | | | | | |
| Component Count: | 5 | | | | | | | |
| Fitted Components: | 5 | | | | | | | |
| Number of PCBs: | 1 | | | | | | | |
| Total Components: | 5 | | | | | | | |
| Project info: | |
|--------------------|-----------------------------------|
| Schematic: | merge_3 |
| Variant: | default |
| Revision: | |
| Date: | 2021-01-27_10-21-29 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Statistics: | |
| Component Groups: | 2 |
| Component Count: | 5 |
| Fitted Components: | 5 |
| Number of PCBs: | 1 |
| Total Components: | 5 |
This time we also have five components, but from two different types. They are one 1 k resistor and four 10 k resistors.
Now suppose we want to create 10 boards for *merge_1*, 20 for *merge_2* and 30 for *merge_3*.
@ -633,7 +624,7 @@ The `test_merge_consolidate/BoM/merge_1-bom.csv` file will be generated containi
| Project info: | |
|--------------------|-----------------------------------|
| Variant: | default |
| KiCad Version: | 5.1.9-73d0e3b20d~88~ubuntu21.04.1 |
| KiCad Version: | 5.1.9-73d0e3b20d\~88\~ubuntu21.04.1 |
| Global statistics: | |
| Component Groups: | 4 |
| Component Count: | 16 |