Commit Graph

525 Commits

Author SHA1 Message Date
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 d0801d1e5d Fixed test_qr_lib_1
- Problems when running without X
- KiCad 5 vs 6 details
2022-01-03 12:55:26 -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 64bfc4824d Added `--cli-order` option to generate outputs in arbitrary order.
- Also updated some output details in the README
Related to #106
2021-12-31 10:40:17 -03:00
Salvador E. Tropea 6d939bbdbe Added datasheets downloader
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea 3f822dd938 Better debug information when a test YAML is missing 2021-12-29 15:17:27 -03:00
Salvador E. Tropea 358fb4f816 Added message about problems with 3D Viewer on KiCad 6.0.0. 2021-12-28 18:04:20 -03:00
Salvador E. Tropea 1c3cc13004 Fixed flake8 errors 2021-12-28 18:04:04 -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 18272f8e06 Adjusted fuzzyness for the PcbDraw tests (v0.9.0 needs it) 2021-12-28 10:38:47 -03:00
Salvador E. Tropea 118c81120b Added KiCad v6 PCB for iBoM tests 2021-12-28 10:38:17 -03:00
Salvador E. Tropea 54332a8630 Added suypport for KiCad 6 sch extension to makefile tests 2021-12-27 15:21:41 -03:00
Salvador E. Tropea 4253368dd8 Added more information when a board test is missing
- During tests migration to a new KiCad
2021-12-27 15:20:52 -03:00
Salvador E. Tropea a72aac4e54 Added support for iBoM 2.4.1 2021-12-27 14:13:12 -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 367d80e96c Updated the print PDF reference tests for KiCad 6. 2021-12-18 18:41:09 -03:00
Diego Capusotto 7e37d64bcc Added .kicad_prl removal during tests 2021-12-18 18:40:41 -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 1b7d42397e Adapted the test_preflight tests to KiCad 6 2021-12-18 17:02:41 -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 46378b992b Added some abstraction for the KiCad project file extension. 2021-12-18 11:13:58 -03:00
Diego Capusotto d989857ac7 Removed temporal project left by out_step
Closes #124
2021-12-18 11:11:55 -03:00
Diego Capusotto cf3720ccaa Added function to check for KiCad v5 to context.py 2021-12-17 18:22:19 -03:00
Diego Capusotto dbf3776a94 Added more information when a position test fails
- Now we also compare using % 360 for angles
2021-12-17 18:21:20 -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 16fc6c1c71 Adapted to v6: Now KiCad always uses angles % 360 2021-12-17 18:19:28 -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 0795b2d8f3 Adapted test_misc_2.py to v6 details 2021-12-17 17:22:18 -03:00
Diego Capusotto 915412c426 Adapted force_pcbnew_error.py to support KiCad nightly 2021-12-17 17:21:32 -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 e70172c83f Skipped `test_int_bom_missing_lib` test for v6
- Schematics are self-cointained now, there is no point in checking
  libs
2021-12-17 15:44:53 -03:00
Diego Capusotto 2c936b8c64 KiCad v6: added kibom-variante test case 2021-12-17 13:48:14 -03:00
Diego Capusotto 5cf60b0361 Fixed config tests
- The initialization in out_base forced the need of logger reset
2021-12-17 13:34:15 -03:00
Diego Capusotto 927ed3c99e Fixed flake8 details 2021-12-17 12:55:33 -03:00
Diego Capusotto 14e0a90dce KiCad v6: test_gerber.py adpted to the new layer names 2021-12-17 12:45:44 -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 c3b987eb6f Adjusted tests to the l1.dcm addition 2021-12-17 10:30:13 -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