Commit Graph

1113 Commits

Author SHA1 Message Date
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
Salvador E. Tropea f603f8af7a [Tests][Add] Support for the nightly image
- It defines KICAD_PATH pointing to the nightly dir
2023-04-18 11:25:51 -03:00
Salvador E. Tropea 446df067b9 [Tests][KiCad 7.0.2] Avoid DRC errors about 3D models mismatch 2023-04-18 10:11:22 -03:00
Salvador E. Tropea 43a2bea49d [Tests] Separated independent tests
- Tests that doesn't depend on the KiCad version
- So they aren't run 6, 8 or even more times
- Hopefuly will reduce download issues in dep tests
2023-04-18 07:31:42 -03:00
Salvador E. Tropea 0d503479eb [Tests][KiCad 7] Adapted some test cases to 7.0.2
- Mostly to ignore new errors
2023-04-17 13:48:29 -03:00
Salvador E. Tropea 118864e851 [Tests] Added more tolerance to include 7.0.2
- Without changing the references
- test_pcb_print_simple_1
- test_panelize_1
2023-04-17 13:46:59 -03:00
Salvador E. Tropea b0da1851e7 [Tests][KiCad 7][Added] Workaround for bogus ERC messages
- Missing simulation model!
2023-04-17 12:59:03 -03:00
Salvador E. Tropea f58344bd9f [Tests][KiCad 8][Fixed] Absolute links in references 2023-04-16 09:01:14 -03:00
Salvador E. Tropea 5b6ea1016f [Tests][Panelize][Added] Debug information from KiKit
- Needed to get a backtrace
2023-04-15 20:04:03 -03:00
Salvador E. Tropea bb7a0cc36c [Tests] Added more tolerance for the fill test
- Needed by 7.0.2
2023-04-15 20:03:01 -03:00
Salvador E. Tropea e708aee42d [Tests][Added] Test for netclass flags 2023-04-15 20:02:13 -03:00
Salvador E. Tropea 3b0a26c7ab [Added] Support for netclass flags
Closes #418
2023-04-14 13:28:28 -03:00
Salvador E. Tropea 9f5618d995 [Tests][KiCad 8] Disabled sch/pcb parity check
- Doesn't work on KiCad 8, missing patch
2023-04-13 11:25:45 -03:00
Salvador E. Tropea 50040a9355 [Tests][ERC][KiCad 8] Warning test now needs a project
- Avoid removing it
2023-04-13 11:24:44 -03:00
Salvador E. Tropea 0ca47ccf80 [Tests][KiCad 8] Updated bom_w_prj.kicad_pro 2023-04-13 11:23:04 -03:00
Salvador E. Tropea c8cbbcdd27 [Tests][Print PCB] Give some tolerance to the tests 2023-04-13 11:20:22 -03:00
Salvador E. Tropea a8fe973a31 [Tests] Define ki8() and take KiCad 8 stuff from kicad_8 dir 2023-04-13 11:19:29 -03:00
Salvador E. Tropea 0f2b843cb8 [Tests][KiCad 8] Updated references 2023-04-13 11:17:53 -03:00
Salvador E. Tropea 2a58db514e [Tests][KiCad 8][Added] Test samples
- They are mostly the 7.x, not yet migrated
2023-04-13 10:26:07 -03:00
Salvador E. Tropea 95390bc5ab [Tests][KiCad 8] Added reference results
- Most of them are just links to 7.x, not yet tested
2023-04-11 11:28:45 -03:00
Salvador E. Tropea 4f33c6b775 [Tests][KiCad 8] Added some tolerance to the sub pcb pcbdraw tests 2023-04-11 11:27:45 -03:00
Salvador E. Tropea 2f73b3f743 [Tests][KiCad 8] Added gencad reference
- Is most probably broken, but I don't have a soft to check
2023-04-11 10:00:23 -03:00
Salvador E. Tropea 3ee59c74be [Tests] Added KiCad 8 subparts-bom.csv reference 2023-04-07 15:08:02 -03:00
Salvador E. Tropea 48fb51bbe7 [Tests] Added links for KiCad 7.99 config tests 2023-04-07 15:07:29 -03:00
Salvador E. Tropea 3e40c83ed5 [Tests][Fixed][KiCad 8] Version detection 2023-04-06 19:43:52 -03:00
Salvador E. Tropea 544945e464 [KiCad 8][Tests] Added references for font and color tests 2023-04-05 13:11:56 -03:00
Salvador E. Tropea caefa818f3 [KiCad 8][Tests] Added references directory 2023-04-05 13:11:09 -03:00
Salvador E. Tropea 58417e428d Merge branch 'dev' of https://github.com/INTI-CMNB/KiBot into dev 2023-04-04 13:50:58 -03:00
Salvador E. Tropea 6feddd06a5 [Added] Mechanism to install fonts and colors 2023-04-04 13:49:21 -03:00
Salvador E. Tropea 3221a7fe00 [PCB Print][Fixed] Problems with images in the WKS (KiCad 5/6)
- Added regression test
2023-04-01 18:07:51 -03:00
Salvador E. Tropea 69c2890a10 [Tests] Added for the last grammar changes 2023-03-31 10:47:33 -03:00
Salvador E. Tropea 9811972ace [PCB/SCH parity] Check for value and fields/properties 2023-03-31 08:45:09 -03:00
Salvador E. Tropea 2f8e416f06 [PCB/SCH Parity] Added support for bogus net codes
Fixes #410
2023-03-31 07:43:31 -03:00
Salvador E. Tropea 158f267eb5 Support for extra data in the Value field
- Currently we just use the tolerance for the 3D resistors
- Uses a port of the JavaScript Electro-Grammar
2023-03-30 12:39:36 -03:00
Salvador E. Tropea 2c20255b71 [Tests] Update the multi-layer references
- Now they are better centered
- Note that KiCad 7 doesn't center as good as 6.
2023-03-28 10:50:12 -03:00
Salvador E. Tropea 92b7206eff [Tests] Reduced the number of non-representable Rs in test case 2023-03-21 10:39:40 -03:00
Salvador E. Tropea f3645d3264 [3D] Added options to control the resistors tolerance
- `field_tolerance` field/s to look for resistor tolerance.
- `default_resistor_tolerance` which tolerance to use when none found.
2023-03-21 09:57:22 -03:00
Salvador E. Tropea 05105cdc9a [3D] colored 3D models for THT resistors 2023-03-20 14:26:09 -03:00