Salvador E. Tropea
950a875c33
[flake8] Optimized use of map+lambda
2024-01-05 09:02:01 -03:00
Salvador E. Tropea
7ec3a1379c
Unified some errors details
...
- Non-critical errors will stop when using -W
- More stack traces on error
- More centralized exit
2024-01-04 13:58:13 -03:00
Salvador E. Tropea
dc3628eaa1
[BoM][Added] `parse_value` can be used to disable the *Value* parser
...
- Better explanation about what affects group_fields
- Added warning about extra information in the value
See #494
2023-09-28 11:18:49 -03:00
Salvador E. Tropea
9ce2321890
[BoM][Fixed] LCSC links
...
- Missing .html
2023-09-12 13:44:00 -03:00
Salvador E. Tropea
390da80f7c
[BoM][Added] LCSC links
...
From SchrodingersGat/KiBoM#190
2023-09-01 13:51:15 -03:00
Salvador E. Tropea
22248c0068
[Fixed] Copy of KiCost data
...
Now we use a copy of the components to allow field expansions.
So we must also copy the specs to the original components.
2023-07-31 13:10:40 -03:00
Salvador E. Tropea
0ddc02c51d
[Electro-grammar][Fixed] Problems with floating point tolerances
...
- i.e. 0.1%
Fixes #447
2023-05-29 10:09:05 -03:00
Salvador E. Tropea
577acfe574
Added stack trace to various exit cases
2023-05-16 10:56:13 -03:00
Salvador E. Tropea
b30ed4a6fc
[Filters][Spec_to_Field][Added] Dist coherence and dist desc
...
- We can now try to parse the description of the component
- We can also try to compare the results from different distributors
2023-05-10 11:25:56 -03:00
Salvador E. Tropea
6be9cbecef
[Filters][Added] `spec_to_field`
...
- To extract information from the distributors specs and put in fields.
I.e. RoHS status.
2023-05-05 11:25:34 -03:00
Salvador E. Tropea
b540b285de
[KiCost] Indented messages from it
...
- To make output more readable
2023-05-05 11:22:41 -03:00
Salvador E. Tropea
61a8fe7885
[Filters][Added] `value_split`
...
- To extract information from the Value field and put it in separated
fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00
Salvador E. Tropea
9393bd2f41
[Grammar] Better decimal point handling
...
- Now replaced only if in a middle of a number
2023-03-31 10:45:57 -03:00
Salvador E. Tropea
46739c8ea0
[Fixed] Units when using the grammar
2023-03-31 10:45:05 -03:00
Salvador E. Tropea
158f267eb5
Support for extra data in the Value field
...
- Currently we just use the tolerance for the 3D resistors
- Uses a port of the JavaScript Electro-Grammar
2023-03-30 12:39:36 -03:00
Salvador E. Tropea
302a762e7a
[KiCost] Log version of the imported module
2022-12-15 09:37:06 -03:00
Salvador E. Tropea
02aa6bce0d
[BoM][Added] Human readable text output format.
...
Closes #334
2022-11-24 11:32:47 -03:00
Salvador E. Tropea
dbea3ca183
[BoM][Added] Option to link to Mouser site.
2022-11-07 10:50:58 -03:00
Salvador E. Tropea
ca1faa9102
[BoM][Fixed] Digi-key link in the HTML output.
2022-11-07 10:10:59 -03:00
Salvador E. Tropea
63b4c526f8
Fixed missing XYRS information for components with multiple units
...
Closes #306
2022-09-29 07:54:32 -03:00
Salvador E. Tropea
1f123d3f22
[Test] Added a message to test the missing XLSX behavior
2022-07-01 12:40:15 -03:00
Salvador E. Tropea
f80480b31e
[Dependencies] Added XLSXWriter auto-download
2022-07-01 11:27:44 -03:00
Salvador E. Tropea
6242a772c2
KiCost specs encoding fixes
...
- Now we decode HTML encoded sequences
- Updated KiCost submodule to the one that fixes KitSpace encoding
- Updated the references (now properly encoded)
2022-06-29 08:08:42 -03:00
Salvador E. Tropea
66c9e21865
Fixed problems with 4872a6d
...
- Even when most tools takes utf8 == utf-8 the XML class don't
2022-06-09 13:58:29 -03:00
Salvador E. Tropea
4872a6d366
XML BoM: Fixed problems with fields containing /
...
Fixes #206
2022-06-09 13:38:32 -03:00
Salvador E. Tropea
6eea54c7c9
Fixed XLSX problem when no PCB info and no stats used
2022-05-20 19:43:51 -03:00
Salvador E. Tropea
bb6e962f3d
Internal BoM: Added customizable extra info after the title
...
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea
fb082fcbb3
Added `kibot-check` tool to check the installation
2022-05-20 13:26:41 -03:00
Salvador E. Tropea
ca861fc21e
Added dependency collection mechanism
...
- Currently used to better document the dependencies
2022-05-19 08:47:06 -03:00
Salvador E. Tropea
7c7f1eeb79
Adapted to the new KiCost API
...
- Now we get functions only from the top-level of the module
2022-05-05 13:55:28 -03:00
Salvador E. Tropea
058d79e4f8
Adapted to KiCost API changes
2022-05-05 10:26:42 -03:00
Salvador E. Tropea
7ddb9f5892
Modified the log system to allow parallel file logging
...
- During quick start targets generation we log with full verbosity
to a file and with the selected verbosity to the console.
2022-04-28 14:43:08 -03:00
Salvador E. Tropea
50ebaf0a15
Fixed the way xlsx_writer process the field joins
...
- It relied on a bug
2022-04-26 12:17:26 -03:00
Salvador E. Tropea
3952d84a6a
Fixed internal BoM XLSX generation when no DNF parts are used
2022-04-26 09:33:04 -03:00
Salvador E. Tropea
80e963c90e
Changed Digi-Key server from Portugal to US
2022-04-18 13:50:30 -03:00
diogocondeco
827a7afe44
Fixes Digikey link to open part from xlsx file
...
Fixes the url to open Digikey's page with details from the cell part number.
2022-04-07 23:58:23 +01:00
Salvador E. Tropea
beee95ce31
Merged the kicost_dk branch:
...
- New internal BoM XLSX options to control KiCost:
- Dis/Enable APIs
- Add a description column
- Specs worksheet generation
- Which spec columns
- Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea
fb7e81fb69
Made the "Using `{}` for {} instead" message more clear
...
- When normalize_values is false it adds ", only for sorting purposes"
Related to #108
2022-03-15 19:17:25 -03:00
Salvador E. Tropea
338a0cc3d4
Fixed B007 Loop control variable 'i' not used within the loop body.
2022-02-17 19:10:47 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
5d2d0a4195
Added MacroFab XYRS support
...
- Internal BoM options:
- `angle_positive`
- `csv.hide_header`
- `footprint_populate_values`
- `footprint_type_values`
- `units` mils
- Columns:
- `Footprint Type`
- `Footprint Populate`
- `Footprint X-Size`
- `Footprint Y-Size`
2022-02-14 13:49:56 -03:00
Salvador E. Tropea
edbe29740b
Internal BoM: XYRS support
...
- Now the `bom` output can generate files like `position`
2022-02-11 11:45:43 -03:00
Salvador E. Tropea
ed4ff70033
Internal BoM: two other options for the sorting criteria.
2022-02-11 11:04:21 -03:00
Salvador E. Tropea
644f6d1fda
Internal BoM: Added footprint X, Y, rotation and side columns
...
- First step towards XYRS support
2022-02-11 11:01:14 -03:00
Salvador E. Tropea
9417b61478
Moved all loggers to the same domain.
...
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Diego Capusotto
9be560e78d
Now the text* options of join must include any separator
...
- Removed the space when used
- Related to #108
2021-12-14 16:49:46 -03:00
Salvador E. Tropea
6fa6356f9c
Adapted the kiCost interface to the new `join` format.
2021-12-01 19:17:19 -03:00
Salvador E. Tropea
995219a8ea
Added option to add text to the `join` in the internal BoM
...
Related to #104
2021-12-01 18:07:41 -03:00
Salvador E. Tropea
49ea1bb62a
Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
...
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea
813a5f9917
Removed extra W_BADVAL1 (no longer used)
2021-11-15 14:29:36 -03:00