Salvador E. Tropea
61909127cd
Fixed initialization of empty sub-options.
2020-08-05 19:53:57 -03:00
nerdyscout
976e91cda7
plot schematic as svg
2020-08-05 20:34:07 +00:00
Salvador E. Tropea
547c3a22bb
Simplified the columns logic for the internal BoM.
...
The ColumnList class now is just a place holder for column names.
We just create the list of columns from the user preferences or
creating a good default and then we just use this list.
2020-08-01 20:15:33 -03:00
Salvador E. Tropea
71c87bf2ea
Optimized the list of fields reported by the components.
...
Avoiding to iterate on fields that we'll reject and also providing the
value in the same operation.
2020-08-01 19:11:58 -03:00
Salvador E. Tropea
f062eca7aa
Removed counter no longer used in HTML and CSV BoM writers.
2020-08-01 18:50:50 -03:00
Salvador E. Tropea
99eab1c2f1
Removed `number_rows` from README.md and exampl config.
2020-08-01 18:42:01 -03:00
Salvador E. Tropea
9e8aebc3aa
deeepcopy no longer needed.
2020-08-01 18:41:35 -03:00
Salvador E. Tropea
a9cd9a649b
Moved the BoM stats computation.
...
Now is in a loop that already operates with this information.
2020-08-01 18:39:34 -03:00
Salvador E. Tropea
5be7254594
Now the row number column is a regular column.
...
Its name is `Row` and you can put everywhere.
No `number_rows` option needed or special cases, is just another column
2020-08-01 18:31:26 -03:00
Salvador E. Tropea
64576e3975
Moved some repeated code in BoM writers.
...
All the writers computed some stats. Now they are computed in one place
avoiding repetition.
2020-08-01 16:55:33 -03:00
Salvador E. Tropea
670e379f65
Fixed style details (flake8)
2020-08-01 16:27:39 -03:00
Salvador E. Tropea
a2ef1359d0
Added test for the KiBoM bug about columns not fully case insensitive.
2020-08-01 16:24:28 -03:00
Salvador E. Tropea
9c8830eefa
Added test for the connectors grouping.
2020-08-01 16:07:51 -03:00
Salvador E. Tropea
6b9be4a2fc
Implemented the group_connectors option of the internal BoM
2020-08-01 16:06:54 -03:00
Salvador E. Tropea
2ef0aa060c
Added XML and XLSX tests for the column rename.
2020-08-01 15:43:18 -03:00
Salvador E. Tropea
d1fd04d4d2
Added column rename test for HTML.
2020-08-01 15:36:29 -03:00
Salvador E. Tropea
0f57ff8b73
Fixed 'component' column isn't always added, so we must test before remove.
2020-08-01 15:35:12 -03:00
Salvador E. Tropea
c3c86bc4ae
Added column rename test for the internal BoM.
2020-08-01 15:19:10 -03:00
Salvador E. Tropea
d66410636e
Fixed the column rename feature of the internal BoM
2020-08-01 15:17:54 -03:00
Salvador E. Tropea
b2189991fc
Added test for `number_rows` internal BoM option
2020-08-01 14:43:08 -03:00
Salvador E. Tropea
b3811b78cc
Added test for `use_alt` internal BoM option
2020-08-01 14:36:21 -03:00
Salvador E. Tropea
107c1c1267
Fixed the use of component.ref_suffix
...
This is an string and can be '?' or a number.
2020-08-01 14:34:56 -03:00
Salvador E. Tropea
6c26bd4ec6
Added test for the `html_generate_dnf` internal BoM.
2020-08-01 14:24:35 -03:00
Salvador E. Tropea
1455ccdc2a
Added missing config file for last test.
2020-08-01 14:24:03 -03:00
Salvador E. Tropea
14cf41bc2d
Added test for 'ignore_dnf' option in internal BoM
2020-08-01 14:12:25 -03:00
Salvador E. Tropea
ecbeb587fe
Simplified the other internal BoM tests.
...
Now that we can just use TestContextSCH.
No need for dummy PCB or extra options.
2020-08-01 13:35:42 -03:00
Salvador E. Tropea
77c5131a2f
Fixed two tests using the "PrPCB" directory.
...
Cut & Paste error.
2020-08-01 13:27:56 -03:00
Salvador E. Tropea
22b624037c
Added test for the internal BoM "Join" feature.
2020-08-01 13:17:27 -03:00
Salvador E. Tropea
2ad4cccf21
Fixed internal BoM "Join" feature.
2020-08-01 13:16:44 -03:00
Salvador E. Tropea
65f9612104
Removed old comment about KiBoM PR number
2020-08-01 13:16:07 -03:00
Salvador E. Tropea
1cc71f2135
Fixed TestContextSCH class.
...
Now testing targets that only needs the SCH is simpler.
2020-08-01 13:14:17 -03:00
Salvador E. Tropea
0e5f9afc39
Added test for "digikey link" in the internal BoM.
2020-08-01 12:29:49 -03:00
Salvador E. Tropea
570553b616
Added test for "datasheet_as_link"
2020-07-31 20:38:18 -03:00
Salvador E. Tropea
ca67cc8ac3
Fixed columns capitalization.
...
Now the capitalization is preserved, even when internally we match all
using lowercase.
2020-07-31 20:08:12 -03:00
Salvador E. Tropea
8a5c3724a1
Fixed the "References" column
...
Now plural as in KiBoM.
2020-07-31 20:01:43 -03:00
Salvador E. Tropea
99bec61576
Fixed references sorting.
...
Also added a test to check it.
2020-07-31 19:52:01 -03:00
Salvador E. Tropea
5058af5038
Added tests for XML and XLSX internal BoM
2020-07-31 19:31:36 -03:00
Salvador E. Tropea
7d56b59ba4
Added simple CSV and HTML test for the internal BoM.
2020-07-31 14:06:54 -03:00
Salvador E. Tropea
d55846fe85
Added missing empty line (flake8 detail)
2020-07-31 12:01:25 -03:00
Salvador E. Tropea
a523c3ceb9
Added debug information about the SCH, PCB and Config used.
2020-07-31 12:00:49 -03:00
Salvador E. Tropea
6ac62e5053
Updated the README.md with the -v... fix
2020-07-31 12:00:08 -03:00
Salvador E. Tropea
984b81fea1
Added support for "Description" BoM column.
...
For this we are loading:
- The KiCad configuration
- The default and project symbol libs tables
- All the used libs
- All the used DCMs
2020-07-31 11:58:07 -03:00
Salvador E. Tropea
ae47afa695
Reduced default verbosity for tests.
...
Using -vv can generate more than 170k when loading a couple of libs.
2020-07-31 11:56:21 -03:00
Salvador E. Tropea
bb5750df13
Added test for config files to the Makefile
...
Config files in the root of the repo makes some tests to fail.
2020-07-31 11:52:42 -03:00
Salvador E. Tropea
2c24714086
Added another schematic file format reference.
2020-07-31 10:07:12 -03:00
Salvador E. Tropea
956cba7c98
Fixed verbosity levels bigger than 1.
...
Partially my fault and also a bug in docopt.
2020-07-28 23:09:33 -03:00
Salvador E. Tropea
9d3645fa41
Implemented the 'Sheetpath' column.
2020-07-28 20:05:50 -03:00
Salvador E. Tropea
d8ff6c92aa
Implemented 'Part Lib' and 'Footprint Lib' columns.
2020-07-28 19:40:56 -03:00
Salvador E. Tropea
e0bce9a874
Added KiCad v5.x sch documentation.
2020-07-27 22:06:52 -03:00
Salvador E. Tropea
544f34c6fc
Added native BoM generator.
...
Based on KiBoM, but reading the data directly from the .sch
Information from the libs not supported yet.
2020-07-27 22:04:01 -03:00