Commit Graph

434 Commits

Author SHA1 Message Date
Salvador E. Tropea 1e26bc0d04 Added missing shebangs 2022-02-16 17:37:28 -03:00
Salvador E. Tropea aa48cc3187 Forced files to end in a single new line 2022-02-16 17:34:34 -03:00
Salvador E. Tropea ccbb8a6060 Adapted two tests to the new details
- New pcbnew import in gs.py
- New return value for _get_columns()
2022-02-14 14:49:16 -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 db6cf3dace Added Board View test 2022-02-07 13:27:56 -03:00
Salvador E. Tropea d1f6b28afa Fixed test_kicad_conf_local_conf
- Now supports nightly cases
2022-01-29 16:38:50 -03:00
Salvador E. Tropea 400d06f9b3 Adjusted error messages and crossed comp generation.
- Also the name of the member for lib_name
2022-01-29 16:16:39 -03:00
Salvador E. Tropea 6b482695fb Avoid loosing light_control project during tests 2022-01-16 11:11:22 -03:00
Salvador E. Tropea 52df7e85b3 Fixed missing project for light control
- In KiCad 6 some importants settings were moved to the project.
  I.e. the clearance
2022-01-16 01:02:18 -03:00
Salvador E. Tropea 278de8fb16 Added report generation (for design house)
Related to #93
2022-01-15 15:47:48 -03:00
Salvador E. Tropea 24ba23d203 Separated YAML tests that makes reference to SCH files
- Avoiding KiCad 5 and 6 mixes
2022-01-10 20:48:11 -03:00
Salvador E. Tropea 8a4064a544 Added KiCad 6 native symbols default dir 2022-01-07 17:49:33 -03:00
Salvador E. Tropea 960f5565f0 Fixed modules load order in kiconf_init.py
- Previous seems to fail in some environments
2022-01-07 17:33:57 -03:00
Salvador E. Tropea ed6733a8b8 Adapted the KiCad config error tests to KiCad 6. 2022-01-07 17:07:00 -03:00
Salvador E. Tropea 0b58424f57 Fixed test_print_sch_svg_fail test for KiCad 6 (used .sch) 2022-01-07 13:04:45 -03:00
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 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 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 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 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 54332a8630 Added suypport for KiCad 6 sch extension to makefile tests 2021-12-27 15:21:41 -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 1b7d42397e Adapted the test_preflight tests to KiCad 6 2021-12-18 17:02:41 -03:00
Diego Capusotto d989857ac7 Removed temporal project left by out_step
Closes #124
2021-12-18 11:11:55 -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 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 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 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 c3b987eb6f Adjusted tests to the l1.dcm addition 2021-12-17 10:30:13 -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 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
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
Diego Capusotto e2599731f7 Added `output_id` output option to be expanded by %I 2021-12-14 16:19:49 -03:00
Salvador E. Tropea a82f130ad9 Now you can compress files relative to the current working directory.
Related to #93
2021-12-03 19:30:11 -03:00
Salvador E. Tropea 50783087a1 Fixed wrong variable in test assert 2021-12-03 17:52:16 -03:00
Salvador E. Tropea 6a691cf362 Added pre-flight to replace in the PCB
- Also added some constrains to what can be substituted to avoid
  corrupting the files.
2021-12-03 16:52:04 -03:00