Commit Graph

1257 Commits

Author SHA1 Message Date
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
Diego Capusotto 69c874fdbd KiCad v6: Added support for the new "modules" name ("footprints")
- No alias provided, as usual
2021-12-17 12:46:40 -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 1f1b42a8e6 KiCad v6: Adapted out_any_drill.py to new API change
- Now m_AuxOrigin must be accessed using GetAuxOrigin
2021-12-17 12:12:18 -03:00
Diego Capusotto 5dce1d5a31 KiCad v6: Adapted gs.py to new API change
- title_block.GetCommentX() -> title_block.GetComment(X)
- No compat wrapper as usual
2021-12-17 12:11:10 -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 58a8035704 out_base.py: adapted to new sequence intialization for tests. 2021-12-17 11:46:15 -03:00
Diego Capusotto 51ad5c3a2e Fixed flake8 details 2021-12-17 11:45:32 -03:00
Diego Capusotto 3d947f2d50 KiCad v6: Added support for absent title block 2021-12-17 11:44:43 -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 267cc38453 Fixed missing documentation for `route_mode_for_oval_holes` option
Closes #123
2021-12-17 08:57:45 -03:00
Diego Capusotto ea6a7c7ecb Updated the credits in the README. 2021-12-16 17:53:21 -03:00
Diego Capusotto 41c3661d8e KiCost: list arguments wrongly passed.
Related to #120
2021-12-16 17:24:03 -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 93f57ff6c6 KiCost: added `board_qty` as alias for `number` 2021-12-16 07:40:21 -03:00
Diego Capusotto 96a5f3da21 Added support for new KiCost options `split_extra_fields` and `board_qty`.
Closes #120
2021-12-15 17:39:01 -03:00
Diego Capusotto 3eb82bc86d Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Diego Capusotto 631cef7fd9 Replaced call to Optionable expand_filename_sch by self.expand_dirname
- In Pre ERC, DRC and update XML
2021-12-15 17:03:56 -03:00
Diego Capusotto 4f5b4c0619 Adapted the test_filter_not_list to the new error message
- Now we don't use a plural for one option.
2021-12-15 11:17:45 -03:00
Diego Capusotto 318f0993bf Now `disable_run_by_default` can be defined as true
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -03:00