SET
815e475b8d
Added tests to exclude PCB and/or Stats info in CSV files.
2020-08-14 11:13:45 -03:00
SET
552c3f861a
Fixed separator for TSV and TXT
2020-08-14 10:20:29 -03:00
SET
7aaaa45eb2
Commented dead code.
...
Now that we guess the units from the prefix there is no need to match
missing units against known units.
2020-08-13 23:06:19 -03:00
SET
e35ef8ec3c
Added options to normalize R, L and C values.
2020-08-13 22:45:25 -03:00
SET
ed538d9679
Reduced the calls to the complex value parsing in units.py
...
Now we call it just once for each component and store the result.
Then we use the stored value instead of computing it over and over.
In this way we save time and warnings about malformed values are
reported once. It reduced the number of warnings in the test case
from 39 to 3.
2020-08-13 21:43:28 -03:00
SET
02978aceb8
Removed extra spaces (flake8 details)
2020-08-13 20:18:22 -03:00
SET
b50aaf7806
Added support for locale's decimal point.
2020-08-13 13:11:27 -03:00
SET
bfc6e07481
Avoid to apply RLC sorting to "RL*" components.
...
Also apply it to "RV*" and "RT*"
2020-08-13 12:58:21 -03:00
SET
73d7af9e1d
Code clean-up and better error report in units.py
2020-08-13 12:41:26 -03:00
SET
40f1a9da34
Added some comments about unreachable code in units.py
...
Also removed some empty lines.
2020-08-13 11:28:15 -03:00
SET
50826a80c1
Fixed ohm symbol detection
...
We use lowercase matching so we have to match with lowercase omega.
2020-08-13 11:26:29 -03:00
SET
548981e27e
Added support for micro, not just mu.
...
Now both are supported:
GREEK SMALL LETTER MU U+03BC
MICRO SIGN U+00B5
2020-08-13 11:23:48 -03:00
SET
c263859de6
Made the "Total Compomponents" label coherent between HTML and XLSX
2020-08-12 19:12:35 -03:00
SET
2196d498ff
Fixed "generate_dnf: False" for XLSX
2020-08-12 14:34:09 -03:00
SET
a915ac63f1
Removed dead code.
2020-08-12 13:32:30 -03:00
SET
45aaef29e6
Excluded from coverage the case where we don't have XSLX support.
2020-08-12 12:07:16 -03:00
SET
8887bcd00c
Added 1 extra char to XSLX columns in bold.
2020-08-12 12:06:41 -03:00
SET
f7473bca12
Fixed the "non grouping" criteria.
...
Now we don't get repeated references for multi-part components.
2020-08-12 09:50:02 -03:00
SET
c4833e198a
Excluded "Part" field from collisions.
...
Is natural for aliases.
2020-08-11 18:34:19 -03:00
SET
17b5e61a43
Removed dead code.
2020-08-11 16:02:00 -03:00
SET
ce7b985062
Added more information to the field collision warning
2020-08-11 15:51:58 -03:00
SET
d2bd0da962
Removed more dead code
2020-08-11 15:09:46 -03:00
SET
92514e38f0
Removed dead code.
2020-08-11 14:36:32 -03:00
SET
ace151f1ef
Removed dead code in Joiner class.
2020-08-11 13:40:14 -03:00
SET
6d09d662be
Fixed flake8 style details
2020-08-11 12:46:36 -03:00
SET
e530a3bb98
Fixed the merge_blank_fields logic.
...
Now it uses empty fileds as wildcards.
2020-08-11 12:25:08 -03:00
SET
ab0591f102
Removed old comment.
2020-08-10 18:58:03 -03:00
SET
b164e008e3
Fixed HTML output for internal BoM.
...
Reference to wrong config variable.
2020-08-10 18:56:39 -03:00
SET
8828be17e4
Fixed default variant name.
2020-08-10 18:55:58 -03:00
Salvador E. Tropea
78cfcd16c0
Added option to disable the red color for empty cells.
...
Applies only when using colors for column types.
Is for HTML and XLSX
2020-08-06 09:24:48 -03:00
Salvador E. Tropea
77bf713b26
Max number of chars per column configurable in XLSX.
...
Also added row height adjust.
2020-08-06 09:04:16 -03:00
Salvador E. Tropea
7298a5662f
Give more priority to user defined 'Description' field.
...
Only using the one from libs if the user didn't define it.
2020-08-06 09:02:39 -03:00
Salvador E. Tropea
3555059f8f
Better support for UTF-8 in XML output.
...
From SchrodingersGat/KiBoM#129 and SchrodingersGat/KiBoM#130
Fixes problems on Windows 10
2020-08-06 08:59:25 -03:00
Salvador E. Tropea
7563d1a9ad
Implemented the KiCad version in the Internal BoM.
2020-08-05 21:17:20 -03:00
Salvador E. Tropea
46c55fcf91
Separated the format specific options for internal BoM
...
And now we have more options.
- CVS: can quote all values.
- HTML and XLSX: styles adjust, including a logo.
- XLSX: now has the same options as HTML
Also a fix in the "join" mechanism for "case insensitive" support.
2020-08-05 19:57:32 -03:00
Salvador E. Tropea
3e6648773f
Fixed column names must be lower case for internal usage.
2020-08-05 19:55:01 -03: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
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
6b9be4a2fc
Implemented the group_connectors option of the internal BoM
2020-08-01 16:06:54 -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
65f9612104
Removed old comment about KiBoM PR number
2020-08-01 13:16:07 -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
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
9d3645fa41
Implemented the 'Sheetpath' column.
2020-07-28 20:05:50 -03:00