Commit Graph

108 Commits

Author SHA1 Message Date
Salvador E. Tropea edccb13b5e [Tests][PCB2Blender][Added] Stacked boards and JSON stack-up 2024-01-23 09:59:35 -03:00
Salvador E. Tropea f314cdaedb [Tests][Import][Globals] more tests 2024-01-19 08:20:14 -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 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 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 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 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 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 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 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 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 92b7206eff [Tests] Reduced the number of non-representable Rs in test case 2023-03-21 10:39:40 -03:00
Salvador E. Tropea 659e23ae32 [Report] Added warnings and counters for buried and micro vias
- Also added a mechanism to disable them for KiCad 7 which no longer
  provides this option.
2023-02-23 08:40:40 -03:00
Salvador E. Tropea 6a5826f456 [Tests][Added] THT resistors example 2023-02-05 14:38:29 -03:00
Salvador E. Tropea c39d21f3cf [Global Options] Added field_lcsc_part: to select the LCSC/JLCPCB part field 2023-01-28 17:59:23 -03:00
Salvador E. Tropea 8506fb78db [Report][Fixed] Computed size
- When using circles and some arcs in the PCB edge

Closes #375
2023-01-25 11:05:01 -03:00
Salvador E. Tropea 73390cde84 [Tests] Added missing 3D models for the light_control example 2023-01-16 20:05:00 -03:00
Salvador E. Tropea 5ecbbc84fd [Tests] Added sub-PCB test for PCB Variant and PcbDraw 2022-12-22 10:15:21 -03:00
Salvador E. Tropea da2d5f1001 [Variants] Added some limited support for `kikit separate` 2022-12-18 17:14:38 -03:00
Salvador E. Tropea 5e3404949d [Stack-up][Fixed] Problems when using more than one dielectric
Fixes #328
2022-11-10 18:09:00 -03:00
Salvador E. Tropea dbea3ca183 [BoM][Added] Option to link to Mouser site. 2022-11-07 10:50:58 -03:00
Salvador E. Tropea a337028007 [Internal BoM] Added some basic support for "Exclude from BoM" flag
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea a9d5b8cd58 New filter `urlify` to convert URLs in fields to HTML links
Closes #311
2022-09-30 11:28:21 -03:00
Salvador E. Tropea 1042edbb0e [Update_XML] Correct error when using wrong value 2022-09-21 12:41:30 -03:00
Salvador E. Tropea 58b7958899 [Update_XML] Now you can check PCB and schematic parity
Related to #297
2022-09-21 11:33:26 -03:00
Salvador E. Tropea e2fdf87d6b [Copy_Files] Now you can copy the 3D models
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea 418b74b2f3 Environment and text variables now can be used as 3D model aliases.
- Environment and text variables expansion is now recursive.
  So in `${VAR}` the *VAR* can contain `${OTHER_VAR}`

Related to #261
2022-09-14 07:30:13 -03:00
Salvador E. Tropea cabf14ec07 [Diff][Fixed] Always comparing the PCB
- Added regression test

Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea 464b72e8f1 New output to compute differences between PCBs and SCHs.
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea 83c7d10ba0 [Tests] Added regression test for KiCad 6 nested zones 2022-08-12 10:44:23 -03:00
Salvador E. Tropea 553d47f533 [BoM] Added support for text variables expansion
- Is done using a filter, the expansion is done at the end, but
  the filter can be applied at any point in the filter/variant
  chain.
Fixes #247
2022-08-12 09:09:09 -03:00
Salvador E. Tropea 75afab0d40 [Test] Fixed drc filters tests cases
- Added silk_over_copper exclusion
- Skipped test_drc_filter_2 for KiCad 5 (is for KiCad 6)
2022-08-10 18:39:43 -03:00
Salvador E. Tropea c5a6d894c9 [DRC] Added Workaround for problems with DRC exclusions
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562)
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea 42503a909a [SCH][Print] A global option to cross components without a body.
- Only for KiCad 6

Closes #219
2022-07-12 08:44:05 -03:00
Salvador E. Tropea 486fabd321 Added merge and translate field tests for KiCost 2022-06-13 11:18:33 -03:00
Salvador E. Tropea a3811537b8 Fixed svg_pcb_print: page orientation for portrait. 2022-06-12 16:07:58 -03:00
Salvador E. Tropea 72a2c71ddb Added test for PCB paper size stuff 2022-06-12 12:17:23 -03:00
Salvador E. Tropea 358b7f4e44 Added more pcb_print tests 2022-06-10 11:28:33 -03:00
Salvador E. Tropea 304428b2c4 Adapted some tests
- The title block of some test_v5 sheets was removed
- The SVG reference for test_v5 seems to be unstable
2022-06-10 10:07:45 -03:00
Salvador E. Tropea 2ccb61ee2b Added more KiCad SCH tests
- Qubic bezier
- Alternate pin
- Convert (DeMorgan)
- fields_autoplaced
- Bitmap scale
- Paper "user" & orientation
2022-06-10 09:33:15 -03:00
Salvador E. Tropea d79c495e35 Added title block expansions to light_control example
- Works with iBoM 2.4.1-2
Related to #161
2022-04-23 15:29:41 -03:00
Salvador E. Tropea a5df9baf80 Also added `date` example to variables test
Related to #161
2022-04-23 14:51:32 -03:00
Salvador E. Tropea 8bed2595ff Added small naive test to check if iBoM can get text variables
Related to #161
2022-04-23 14:44:00 -03:00