Commit Graph

1150 Commits

Author SHA1 Message Date
Salvador E. Tropea a424faa025 [Tests] Changed skip condition for test_render_3d_res_tht_1 2024-01-11 13:04:52 -03:00
Salvador E. Tropea 7a132e0606 [Tests][Added] Very simple THT 3D resistors test 2024-01-11 09:45:56 -03:00
Salvador E. Tropea 2a038d96a2 [Diff][Added] Example for 2color mode 2024-01-10 10:34:08 -03:00
Salvador E. Tropea 58c54a1d71 [Tests][Added] --help-list-rotations and --help-list-offsets 2024-01-09 13:57:16 -03:00
Salvador E. Tropea 57678e6e74 [Tests][Added] --help-errors 2024-01-09 13:53:49 -03:00
Salvador E. Tropea 535972092c [Tests][Added] --help-dependencies --rst 2024-01-09 13:50:46 -03:00
Salvador E. Tropea cc47d4c0a3 [Tests][Added] --help-global-options 2024-01-09 13:47:30 -03:00
Salvador E. Tropea 0c94295105 [Tests][Added] --help-variants 2024-01-09 13:43:51 -03:00
Salvador E. Tropea 187f21e6e7 [Tests][Added] --help-outputs --rst 2024-01-09 13:39:29 -03:00
Salvador E. Tropea 8bdf79d8c8 [KiRi][Added] config examples 2024-01-09 11:10:28 -03:00
Salvador E. Tropea 0dfaad0d3a [Tests][Added] Simple KiRi test 2024-01-09 10:54:45 -03:00
Salvador E. Tropea 7ce44d71f4 [Tests][Added] -L 2024-01-09 09:14:07 -03:00
Salvador E. Tropea 9c574efd14 [Tests][Added] --defs-from-env 2024-01-09 08:54:31 -03:00
Salvador E. Tropea 415e97e84b [Tests][Added] --list-variants 2024-01-09 08:45:37 -03:00
Salvador E. Tropea c637dd50c6 [Tests][Added] --list --no-names 2024-01-09 08:35:40 -03:00
Salvador E. Tropea 89d1721adf [Tests] Cover the banners generation code 2024-01-09 08:20:34 -03:00
Salvador E. Tropea 19b29f6f6d [Tests][Fixed] RAR fail test
- Now uses _run_command, so we need to patch it
2024-01-08 13:01:53 -03:00
Salvador E. Tropea 6f7d425ee1 [flake8] Fixed reported issues 2024-01-05 09:33:42 -03:00
Salvador E. Tropea d7392d59ec [Fixed] Spell errors 2024-01-05 09:09:58 -03:00
Salvador E. Tropea cf88b27dde [Tests] Adapted test_int_bom_no_xlsx_support
Now we fail if the XLSX couldn't be created
2024-01-05 07:47:54 -03:00
Salvador E. Tropea ed84808566 [Diff][Added] Option to un/fill zones before doing the comparison
See #391
2024-01-03 13:17:18 -03:00
Salvador E. Tropea 2111a2d6b6 [Tests][Added][KiCad 5] light_control project
- Needed for the Quick Start test
2024-01-02 11:12:08 -03:00
Salvador E. Tropea f28540d9cc [Tests][Fixed] Quick Start test
- To include the project, now mandatory
2024-01-02 10:46:45 -03:00
Salvador E. Tropea 6df21bda22 Revert "[Tests] Adapted print reference for KiCad 7.0.9"
This reverts commit ed79c7b1a0.
2023-11-24 10:00:10 -03:00
Salvador E. Tropea ed79c7b1a0 [Tests] Adapted print reference for KiCad 7.0.9 2023-11-24 09:32:47 -03:00
Salvador E. Tropea 2611358432 [Tests][Fixed] Message for no rotations
Now it says "and/or offsets"
2023-11-17 11:16:03 -03:00
Salvador E. Tropea c5a87420c7 [Tests][KiCad 5] Missing 3D model in test 2023-11-16 13:40:04 -03:00
Salvador E. Tropea 9d7ef02547 [Tests][KiCad 5][Removed] test_v5.kicad_pcb extra components 2023-11-16 13:32:05 -03:00
Salvador E. Tropea df4d45dd06 [Tests][Makefile][Fixed] Missing 3D model in test_v5.kicad_pcb 2023-11-16 12:59:09 -03:00
Salvador E. Tropea 4edf9138b3 [Tests][Position][Fixed] Now R3 has fields and doesn't match 2023-11-16 12:50:23 -03:00
Salvador E. Tropea 47c0a50555 [Tests][KiCad 7][Reference][Fixed] test_v5.kicad_sch
Added the missing footprints
2023-11-16 12:45:18 -03:00
Salvador E. Tropea f171c109e0 [Tests][Added][KiCad 7] Missing comment 2 in the new test_v5.kicad_pcb 2023-11-16 12:42:33 -03:00
Salvador E. Tropea 7774db11d9 [Tests] Adapted to the new behavior
- Removed bogus componentes in test_v5 PCBs
- Accounted for R3 in kibom-variant_3 PCB
2023-11-16 11:20:24 -03:00
Salvador E. Tropea 296c12f749 [Tests][KiCad 5] More adjusts to rotation references 2023-11-15 07:14:19 -03:00
Salvador E. Tropea 2dd0cca91c [Tests][Fixed] New ESP32 rotation and change in sign
-90 -> 270
2023-11-14 13:51:56 -03:00
Salvador E. Tropea 4c4a06ffb2 [Tests][KiCad 6] Separated kibom-variante.kicad_pcb and test_v5.kicad_pcb
Now they are different
2023-11-08 11:26:12 -03:00
Salvador E. Tropea dff053b3a4 [Tests][Fixed] More SCH/PCB mismatches 2023-11-08 11:07:43 -03:00
Salvador E. Tropea 4538180159 [Tests] Fixed SCH/PCB mismatch for C6 on light_control test case 2023-11-08 10:57:23 -03:00
Salvador E. Tropea 8f841fe996 [Test][KiCad 7.0.8] Avoid diff between KiCad 6 and 7 files
- 7.0.8 seems to apply some adjust to v6 files
2023-10-18 10:26:48 -03:00
Salvador E. Tropea 3cd644d19d [Blender export][Added] Support for pcb2blender 2.7
- Solder mask and silk screen color
- PCB finish
- PCB thickness
2023-10-11 13:08:10 -03:00
Salvador E. Tropea 299e06ae3e [Tests][KiCad 6] Updated panelize reference 2023-10-09 12:31:45 -03:00
Salvador E. Tropea 9f53a2c827 [Tests][KiCad 7] Updated panel reference
- Small changes in KiKit 1.4.0
2023-10-09 11:01:37 -03:00
Salvador E. Tropea d0c489e2cc [Position][Added] Experimental support for gerber position files
Closes #500
2023-10-02 12:36:16 -03:00
Salvador E. Tropea c216d4bfde [Sub PCBs][Fixed] Using annotation method
- For some edeges and KiCad versions

Closes #496
2023-10-02 10:05:33 -03:00
Salvador E. Tropea 4334de0277 [Tests][Fixed] Adapted to extra info in layer not used 2023-09-07 07:48:58 -03:00
Salvador E. Tropea 390da80f7c [BoM][Added] LCSC links
From SchrodingersGat/KiBoM#190
2023-09-01 13:51:15 -03:00
Salvador E. Tropea 572204a5b2 [Update XML][Fixed] Error when using "Exclude from BoM" (KiCad 6)
- Parity for these components can't be checked. KiCad 7 fixes it.
  Now we just print a warning.
- Also fixes *exclude_from_bom* mismatch on KiCad 7
- Also fixes *Sheetfile* mismatch on KiCad 7 when testing from different
  directory

Fixes #486
2023-08-30 09:22:01 -03:00
Salvador E. Tropea 9915bbd7ae [Help] Small fixes
- To keep the output similar to previous behavior
- Also adapted some tests to new markup
2023-08-29 09:45:17 -03:00
Salvador E. Tropea 948a40fb91 [Blender Export][Added] Options useful to generate simple animations
- The resulting PNGs can be converted to MP4 using ffmpeg
2023-08-16 13:36:19 -03:00
Salvador E. Tropea 4202f01c01 [Populate][Added] Basic support for regular list items
Closes #480
2023-08-15 12:45:00 -03:00
Salvador E. Tropea bbc02c4933 [Tests] Adaptations for Debian 12 images 2023-08-14 12:50:51 -03:00
Salvador E. Tropea b6e1a623cf [Tests] Adaptations for Debian 12 images 2023-08-14 12:37:39 -03:00
Salvador E. Tropea 9580bc2031 [Tests] Adaptations for Debian 12 images 2023-08-14 11:21:46 -03:00
Salvador E. Tropea bbce08e74b Removed comment 2023-08-14 10:36:25 -03:00
Salvador E. Tropea 49973b49cb [Flake8] Small changes suggested by flake8 5.0.4 2023-08-11 13:33:54 -03:00
Salvador E. Tropea 67f79882bd [Tests] Added reference for KiCad 7.0.6 + Debian 12 2023-08-10 13:13:35 -03:00
Salvador E. Tropea cce2ba27ef [Dep Downloader][Added] Partial workaround for broken pip
- On Debian 12 pip installs to _root_/_prefix_/*local*/_dir_
  and not _root_/_prefix_/_dir_.
2023-08-10 12:51:04 -03:00
Salvador E. Tropea 9370999482 [Tests][Added] Support for Debian 12 pip 2023-08-10 09:58:36 -03:00
Salvador E. Tropea 7bc3f11a2b [Dep Downloader] Added support for PEP668 compliant Debian pip 2023-08-10 09:20:02 -03:00
Salvador E. Tropea 50782078d0 [Tests][Stable Nightly] More adjusts to the references
- A mess with the cache I guess
2023-08-08 06:55:13 -03:00
Salvador E. Tropea a5ef3c182b [Tests] Adjusted references for 7.0.7 RC1 2023-08-07 13:30:36 -03:00
Salvador E. Tropea abeea7ec03 [Global options][Add] Option to remove solder mask apertures
`remove_solder_mask_for_dnp` similar to `remove_solder_paste_for_dnp`
but applied to the solder mask apertures.

Closes #476
2023-08-04 12:31:17 -03:00
Salvador E. Tropea 9c6ca87214 [iBoM][Added] Support for 2.7.0
- Pin 1 highlight changes
- The packaged iBoM is compatible with 2.6.0
- A patch to make it compatible was merged in upstream
- Current release reports a wrong version
2023-08-04 06:59:54 -03:00
Salvador E. Tropea 055e832670 [BoM][Added] Support for ${field} expansion
Closes #471
2023-07-31 11:15:37 -03:00
Salvador E. Tropea 68e0ccc9b8 [iBoM][Added] `forced_name` to control the displayed name
- To force the name displayed at the top left corner

Closes #470
2023-07-31 09:12:05 -03:00
Salvador E. Tropea f486fb34b9 [Navigate_Results][Added] Option to skip outs with run_by_default: false 2023-06-14 07:01:43 -03:00
Salvador E. Tropea 6f046d4cd0 [Tests][Added] References for the current stable nightly
- It is quite incompatible with the 7.0.5 release
2023-06-12 11:18:28 -03:00
Salvador E. Tropea d24505353b [Tests][Fixed] Tolerate F.Adhes in comments 2023-06-12 09:51:24 -03:00
Salvador E. Tropea 7a7beff556 [Diff] Changed repo protection to worktree mechanism
- As suggested by @matthijskooijman on #443
- This is cleaner than trying to use stash push/pop
- The old method is available
2023-06-06 12:53:19 -03:00
Salvador E. Tropea 0e7829616c [Tests][KiCad 8] Updated references
- Mostly produced by c31b5eb7d8
  which changed rounding.
- Also changes in sheet ports
2023-06-06 10:27:47 -03:00
Salvador E. Tropea bd07442764 [Templates] Added JLCPCB_with_THT and JLCPCB_stencil_with_THT
- Using the new parametrizable imports
See #444
2023-06-01 13:42:39 -03:00
Salvador E. Tropea 336a5521a6 [Tests] Also disabled panelize compare for non-Debian 2023-06-01 11:05:36 -03:00
Salvador E. Tropea 1ee4182078 [Tests] Disabled some tests when using Ubuntu
- KiCad still say v7.0.5
- Big differences for these tests
2023-06-01 09:26:42 -03:00
Salvador E. Tropea c921ebda9c [Tests][Updated] KiCad 7.0.5 references 2023-05-30 13:23:16 -03:00
Salvador E. Tropea a254fc80dc [Tests][KiCad 8][Panelize] Updated reference
- Text changes, again
2023-05-29 11:15:57 -03:00
Salvador E. Tropea 0ddc02c51d [Electro-grammar][Fixed] Problems with floating point tolerances
- i.e. 0.1%
Fixes #447
2023-05-29 10:09:05 -03:00
Salvador E. Tropea c87a37ea3c [Compress][Gerber][Fixed] Problems with inner layers
- When using legacy protel extensions

Fixes #446
2023-05-29 09:52:04 -03:00
Salvador E. Tropea 5d99e8c2cd [Fixed][Tests] Name of the silk screen layers for KiCad 5 2023-05-24 12:43:44 -03:00
Salvador E. Tropea 281ed3be7e [Imports][Added] Allow to define @TAGS@ values during import
- Also added defaults
- BTW: disabled the YAML lint crap that insists in checking excluded
  files
2023-05-24 09:39:06 -03:00
Salvador E. Tropea 3cc77893f3 [Tests] Updated KiCad 7.99 references
- Changed by the text adjusts to KiCad 6 style
2023-05-22 13:20:06 -03:00
Salvador E. Tropea 55ecf06aec [Tests] Also changed panel reference for 7.0.3 2023-05-19 13:39:09 -03:00
Salvador E. Tropea 8de6392969 [Tests][Added] KiCad 7.0.3 20230518 references
- The d5bd1f5aea042a238345171b99a195da9e0eab9e commit changed the way
  text is rendered across the whole tool. And also other stuff.
- In soem cases the chage is radical
2023-05-19 13:11:19 -03:00
Salvador E. Tropea a44a9f43a6 [Tests][Fixed] Missing config file 2023-05-17 11:16:09 -03:00
Salvador E. Tropea e7cde1164c [Diff][Fixed] Assumption that all tags are in the trunk
- As stated by @matthijskooijman in
  91ffb04661c40102bfb856669039f0825ecc6883#r113724588 comment
  using --tags isn't necessary and includes *all* tags
- The code also assumed nothing was added before the "tag: "
  label, but this isn't true if the HEAD is tagged.
2023-05-17 10:53:43 -03:00
Salvador E. Tropea fd4adac0bb [Tests] Avoid comparing a SCH w/project with another without
- Some options in the project slightly affects the text
2023-05-17 09:56:34 -03:00
Salvador E. Tropea 0ffca702d7 [Tests] Cleaner mechanism for test_diff_file_sch_1
- Taking advantage of -E option
- So we avoid comparing the v7 file with the v6 file
2023-05-17 09:40:08 -03:00
Salvador E. Tropea 27c6d91e6e [Tests] Don't run import_7 in parallel 2023-05-16 10:53:05 -03:00
Salvador E. Tropea b1c268b4c6 [Tests] Adapted for new KiCost
- KitSpace no longer supported
2023-05-15 13:39:26 -03:00
Salvador E. Tropea 8404cd7613 [Tests][Fixed] test_step_alias_2 fails
- Cascaded by other fails
2023-05-12 09:51:45 -03:00
Salvador E. Tropea 05ef06ba88 [Tests] Changed spec_to_field_1
- No more KitSpace
2023-05-10 11:28:28 -03:00
Salvador E. Tropea a3710b19f2 [Tests] Updated references 2023-05-05 12:40:24 -03:00
Salvador E. Tropea 6be9cbecef [Filters][Added] `spec_to_field`
- To extract information from the distributors specs and put in fields.
  I.e. RoHS status.
2023-05-05 11:25:34 -03:00
Salvador E. Tropea a1f78c296e [Filters][Added] New `generic` filter options
- `exclude_not_in_bom` and `exclude_not_on_board` to use KiCad 6+ flags

Closes #429
2023-05-05 06:37:34 -03:00
Salvador E. Tropea 61a8fe7885 [Filters][Added] `value_split`
- To extract information from the Value field and put it in separated
  fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00
Salvador E. Tropea 4fbd69ac3b [Global options][Added] `environment`.`extra_os` to define environment variables 2023-05-02 13:12:50 -03:00
Salvador E. Tropea a05be2240e [v6/7 Schematic] Hierarchy expanded only if needed 2023-04-28 10:45:38 -03:00
Salvador E. Tropea 4992937cf5 [v6/v7 Schematic] Better handling of sub-sheet instances
- When a sub-sheet is the root of another hierarchy.
- We no longer discard the instances, unless expanding the hierarchy
- Also another step to separate the cross and hierarchy expansion
2023-04-28 09:22:15 -03:00
Salvador E. Tropea 308c1fde6d [Tests] Ignore blank lines when comparing texts 2023-04-27 16:47:17 -03:00
Salvador E. Tropea fcf4871e38 [v6/v7 Schematic] Reworked the UUID mechanism
- Now we generate valid UUIDs for all things
- KiCad 6 support
- Better tests, forcing to reload the generated files
2023-04-27 15:06:29 -03:00
Salvador E. Tropea 6dcdb0b363 [Tests][Added] For value change in shared sheets 2023-04-25 13:24:12 -03:00