Commit Graph

1329 Commits

Author SHA1 Message Date
Salvador E. Tropea 67b807610e Fixed details changed in KiCad nightly package 2021-12-27 14:12:20 -03:00
Salvador E. Tropea babf622eca Added support for KiCad v6 config in JSON format. 2021-12-27 14:11:37 -03:00
Salvador E. Tropea 0569beff33 Documented bugs in KiCad v6 RC1 affecting KiBot 2021-12-27 14:11:02 -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 926d4c84d3 Added support to write KiCad v6 schematics with variants 2021-12-21 13:04:09 -03:00
Diego Capusotto 7894e9b45e Reduced complexity 2021-12-21 13:01:17 -03:00
Diego Capusotto e07f45bd2d Adapted sexpdata.py to indent as KiCad.
- Also fixed a problem in _tosexp (Python 2 legacy?)
2021-12-21 13:00:48 -03:00
Diego Capusotto babc9c4ea0 Added debug for not fitted components 2021-12-21 12:51:31 -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 4fe6379b49 Added an option to remove the PCB edge on PCB print
- Only for KiCad 6 and only if printing to one page
- A tradition of discarding user options ...
2021-12-18 18:39:24 -03:00
Diego Capusotto 95f9b7914e KiCad 6 doesn't support the Rescue layer
- Now we use User.9 for KiCad 6
2021-12-18 18:38:08 -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 0157a3ea4b Added KiCad 6 support to the sch_replace pre-flight 2021-12-18 17:02:17 -03:00
Diego Capusotto 2987122798 Documented the limitation about the date in the KiCad 6 title block 2021-12-18 17:01:11 -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 08ef3e847a v6 loader: catch case were the file is just a word 2021-12-18 12:09:51 -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 5d1ecfbae4 Adapted out_position to KiCad v6.
- Now the P&P position is returned by GetPosition, not GetCenter
2021-12-17 18:22:49 -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 285b205af8 Fixed(?) the PCB title block comments numbering is from 0
- Breaking compatibility with older KiCad again
- Disregarding what the file and UI says
2021-12-17 16:55:49 -03:00
Diego Capusotto 69189e661e Added support for v6 GetAuxOrigin change to out_position.py 2021-12-17 16:31:08 -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 8de3982dad Added component fields validation to v6 loader. 2021-12-17 15:45:59 -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 40751eac98 Fixed the components sheet path computatio in KiCad v6 loader
- Must be done for the instance, no point in doing it on the fly
2021-12-17 15:08:00 -03:00
Diego Capusotto d6b717114a Fixed missing `part` field in the v6 loader 2021-12-17 14:43:47 -03:00
Diego Capusotto 5887305b38 v6 loader: added support for missing components 2021-12-17 14:24:41 -03:00
Diego Capusotto 2986740530 Fixed missing datasheet data in v6 loader 2021-12-17 14:24:05 -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 6e5176b273 Simplified the code that detects KiCad v6 2021-12-17 13:11:42 -03:00
Diego Capusotto 927ed3c99e Fixed flake8 details 2021-12-17 12:55:33 -03:00