Commit Graph

147 Commits

Author SHA1 Message Date
Salvador E. Tropea 792572149b Updated test_bom_ok
- The XML netlist was out of sync.
2022-01-07 12:58:09 -03:00
Salvador E. Tropea dadcd8a543 Added support for `bus_alias` [KiCad 6]
- Not documented in the file format
Closes #133
2022-01-07 12:01:17 -03:00
Salvador E. Tropea e2147f40ee Added fields update to the QR stuff
- Footprints are now virtual
- Fixed: Modules used the SCH text
- Fixed: Wrong KiCad 6 SCHs (not copied from bogus ones)
2022-01-06 14:25:09 -03:00
Salvador E. Tropea f1b46daf6c Added missing KiCad 6 test file for datasheet download 2022-01-06 14:18:07 -03:00
Salvador E. Tropea be59ee397e Added support for KiCad 6 to the `update_qr` preflight.
Related to #93
2022-01-04 16:52:12 -03:00
Salvador E. Tropea 7992fd9888 Added preflight option to update the QR codes.
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00
Salvador E. Tropea 5017f7e078 Added QR codes generation: symbols and footprints.
Related to #93
2022-01-03 12:35:33 -03:00
Salvador E. Tropea 6d939bbdbe Added datasheets downloader
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea 057f8688da Added support for STEP generation using KiCad 6
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
  looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Salvador E. Tropea 118c81120b Added KiCad v6 PCB for iBoM tests 2021-12-28 10:38:17 -03:00
Salvador E. Tropea 115c8b6913 Adapted YAML and SCH error tests to KiCad 6 RC1
- Most SCH test are disabled because this is another parser.
2021-12-27 14:10:02 -03:00
Diego Capusotto 3c4c2f0e15 Adapted the test_print_sch.py tests to KiCad v6 2021-12-21 13:07:02 -03:00
Diego Capusotto 89094aac9b Added board examples in KiCad 6 fromat for test_print_pdf 2021-12-18 18:36:22 -03:00
Diego Capusotto c20f8b9ddd Added empty title block to KiCad 6 deeper and sub-sheet examples
- Needed for the SCH replace test.
- In KiCad 6 the title block is optional in the file.
2021-12-18 16:56:53 -03:00
Diego Capusotto 60ab8356d9 Updated the XML netslist for KiCad 6 bom test 2021-12-18 16:56:05 -03:00
Diego Capusotto 82a62f29ce Added board tests in KiCad 6 format for test_preflight 2021-12-18 16:54:56 -03:00
Diego Capusotto 092644264e Added the v6 versions of the board tests needed by test_position 2021-12-17 18:20:27 -03:00
Diego Capusotto cb5b6690c0 Added the test files used by test_pdf.py 2021-12-17 17:29:30 -03:00
Diego Capusotto 58851d2532 Updated simple_2layer test board to v6 2021-12-17 17:28:54 -03:00
Diego Capusotto 908c48b8c7 Updated v6 version of good-project (HPGL pen diameter changed) 2021-12-17 17:20:48 -03:00
Diego Capusotto c6ea908bdd Added v6 files needed for test_misc* tests 2021-12-17 17:20:16 -03:00
Diego Capusotto 9ab8e1f80a Updated the KiCad v6 version of the "bom" schematic
- Now has a title block used for the tests.
2021-12-17 17:04:57 -03:00
Diego Capusotto bed617f72f Added v6 versions of the files needed by test_kicost.py 2021-12-17 16:15:02 -03:00
Diego Capusotto 55c063bbab Copied the date for kibom-variant_kicost.xml test
- KiCost uses it
2021-12-17 16:14:18 -03:00
Diego Capusotto fc6ebb153b Added KiCad v6 versions of the files used by test_int_bom.py 2021-12-17 16:06:08 -03:00
Diego Capusotto 2c936b8c64 KiCad v6: added kibom-variante test case 2021-12-17 13:48:14 -03:00
Diego Capusotto e733ce1289 KiCad v6: Adapted kibom-variant_3 test to the new format. 2021-12-17 12:18:00 -03:00
Diego Capusotto 01090aa64a KiCad v6: Updated 3Rs.kicad_pcb 2021-12-17 12:10:32 -03:00
Diego Capusotto 1e9ed89f75 KiCad v6: Updated bom.kicad_sch and bom.xml 2021-12-17 11:47:11 -03:00
Diego Capusotto 95ddda0953 Made the v5 schematic loader more robust
- Allow DMC files with wrongly encoded chars
- Allow libs with wrong justify+italic+bold fields
- Both from https://github.com/Digi-Key/digikey-kicad-library
Closes #122
2021-12-17 10:03:12 -03:00
Diego Capusotto 25d036f8fa Added some preliminary support for v6 SCHs
- Currently just loads the files
- No save implemented
- Seems to be enough to generate some trivial BoMs
2021-12-16 17:08:33 -03:00
Diego Capusotto 71c7150baa Added support for \n and \t to text* options of join
Related to #108
2021-12-14 17:45:10 -03:00
Salvador E. Tropea f9239349af Added title block to the light control test case 2021-12-03 15:53:31 -03:00
Salvador E. Tropea f3ea2e8024 Adapted test cases to the new sheet detection and example change 2021-12-03 15:50:32 -03:00
Salvador E. Tropea 9fffeddaff Added a text replace tag to test_v5.sch 2021-12-03 12:28:45 -03:00
Salvador E. Tropea 9e4adf5286 Added patterns to expand the title blck comments.
Related to #93
2021-12-03 10:13:42 -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 088027c174 Fixed problems with schematic fields containing double quotes.
- Fixes #98
2021-11-15 12:50:22 -03:00
Salvador E. Tropea a31002ed01 Fixes position files, now defaults to use the auxiliar origin as KiCad.
Can be disabled to use absolute coordinates.
Fixes #87
2021-09-27 08:35:58 -03:00
Salvador E. Tropea f74cfb37ac Fixed dates for the merge*.sch tests. 2021-05-25 20:47:05 -03:00
Salvador E. Tropea 3bdae8507a Added suppport for multiprojects to the internal KiCost.
- Also changes the KitSpace queries format to be more readable.
2021-05-25 18:02:22 -03:00
Salvador E. Tropea 0dc8817bfb Fixed KiCost test (because now KiCost works better) 2021-05-11 12:33:48 -03:00
Salvador E. Tropea 55277a550f More KiCost integration in KiBoM.
- Also added level and comment to columns in the XLSX BoM output.
- Now user columns can be added to the KiCost sheet.
- The "Colors" sheet now includes KiCost colors
- The KiCost column names are more coherent with our names
- Style colors affects the KiCost colors
- About message includes KiBot version
- Header layout is also more coherent
- use_alt, number, max_col_width and ref_separator options are passed
  to KiCost
2021-04-25 09:29:56 -03:00
Salvador E. Tropea e22e1db49a Added support for width, style and color in "wire notes"
Fixes #70
2021-04-22 12:33:13 -03:00
Salvador E. Tropea 16ddb9465f Added Internal BoM + KiCost integration
- Currently very basic, but you get "Costs" and "Costs (DNF)" work
  sheets in the XLSX output when the xlsx.kicost option is enabled.
2021-04-15 11:14:37 -03:00
Salvador E. Tropea 7961209b0f Experimental mechanism to change 3D models according to the variant. 2021-03-31 18:00:43 -03:00
Salvador E. Tropea 7c3f273684 Basic KiCost support. 2021-03-31 12:27:55 -03:00
Salvador E. Tropea 1290bb6995 New KiCost variant style.
- New internal filters `_var_rename_kicost` and `_kicost_dnp`.
- New `skip_if_no_field` and `invert` options to the regex used in the
  generic filter.
2021-03-30 09:37:36 -03:00
Salvador E. Tropea afe80052b4 Added a new filter `var_rename_kicost`
Is very similar to `var_rename` with a few differences that makes it
suitable to emulate the KiCost field rename mechanism.
2021-03-25 12:57:26 -03:00
Salvador E. Tropea 01291ebe63 Added field rename filter.
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00