Commit Graph

1384 Commits

Author SHA1 Message Date
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 63f5a6de20 [Fixed][Copy files] 3D models copy issues
- PCB not loaded if the only action was to copy the 3D models
- Problems for STEP models when copying models
2023-05-22 12:50:41 -03:00
Salvador E. Tropea a35e9fc2c7 [Templates][Added] CheckZoneFill aborts on big changes
- Enables the check_zone_fill preflight
- Creates graphical diff
- Computes the number of changes

Closes #431
2023-05-18 11:28:06 -03:00
Salvador E. Tropea d6e008ff48 [PCB][Added] Invalidate the text variables cache
- Only when `set_text_variables` is used
- Can be controlled by global option `invalidate_pcb_text_cache`
- Not even the KiCad developers agree about if the cached
  values should be reset or not, see
  https://gitlab.com/kicad/code/kicad/-/issues/14360
  But if we don't reset them the user will think KiBot is failing
  to set them.
  As using `set_text_variables` is a clear intention of change
  I think this is the right behavior.

Closes #441
2023-05-18 10:47:23 -03:00
Salvador E. Tropea 5d190aee5d [CLI][Added] `--output-name-first` to list outputs by name
- No description

See #436
2023-05-18 09:39:42 -03:00
Salvador E. Tropea b28ea6d6cd [CLI][List] Various fixes to --only-names
- Added missing groups
- Sorted
- Don't show outputs when using --only-pre and no preflights
2023-05-18 09:19:46 -03:00
Salvador E. Tropea ef04782a9a [Groups][Added] outputs can request to be added to one or more groups
- Also list groups
- Allow empty groups so the user can catch typos

Closes #435
2023-05-18 09:07:17 -03:00
Salvador E. Tropea ebc48f57d9 [CLI][Added] More clear --list output and --only-pre option
- Takes most of the #436 suggestions
2023-05-17 12:43:41 -03:00
Salvador E. Tropea 921b04a396 [CLI] Added --only-names to --list 2023-05-17 11:17:44 -03:00
Salvador E. Tropea 7576bbd3b4 [Added] Human readable error when we get a corrupted project 2023-05-17 11:09:24 -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
Matthijs Kooijman c9b2e7cdc5 [Diff] Fix typo in log message 2023-05-17 13:11:49 +02:00
Matthijs Kooijman f3c1865d00 [Diff][Schematic] Add debug prints about project-copies 2023-05-17 13:10:42 +02:00
Salvador E. Tropea a02999d50a [Diff][Schematic][Fixed] Project not copied to variant
- Any info related to the project wasn't applied.

Fixes #438
2023-05-16 13:28:51 -03:00
Salvador E. Tropea 8a4ea1be5a [List variants] More quiet when --only-names
See #434
2023-05-16 12:43:59 -03:00
Salvador E. Tropea f2f0ed1a9b [CLI][Added] Option to list variants
- Also changed the default --list behavior to avoid configuring outputs
- Old behavior can be obtained using --config-outs

Related to #434
2023-05-16 11:17:44 -03:00
Salvador E. Tropea 577acfe574 Added stack trace to various exit cases 2023-05-16 10:56:13 -03:00
Salvador E. Tropea 91ffb04661 [Diff][Fixed] KIBOT_TAG skipping commits, not tags
Fixes #430
2023-05-12 09:54:26 -03:00
Salvador E. Tropea b30ed4a6fc [Filters][Spec_to_Field][Added] Dist coherence and dist desc
- We can now try to parse the description of the component
- We can also try to compare the results from different distributors
2023-05-10 11:25:56 -03:00
Salvador E. Tropea 119d8fd2e2 [Electro Grammar][Added] Support for "WATT" and xxxx/yyyy
- Not just "Watts"
- xxxx/yyyy for text like "SMD/SMT"
2023-05-10 11:19:55 -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 b540b285de [KiCost] Indented messages from it
- To make output more readable
2023-05-05 11:22:41 -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 66b0c20c69 [Position][Fixed] "Exclude from position files" not excluded
- When only SMD components are selected.

See #429
2023-05-04 13:20:48 -03:00
Salvador E. Tropea 6a1d6d313c [DOCs] Added link to the value_split example 2023-05-04 11:04:52 -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 4e72af9761 [Added] OS environment expansion in ${VAR} 2023-04-28 13:46:58 -03:00
Salvador E. Tropea e4ba2d7d8a [v6/7 Schematic] Better error message when missing UUID 2023-04-28 11:00:51 -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 fea0d04e87 [Filters] More debug in field modify 2023-04-28 10:39:51 -03:00
Salvador E. Tropea 90f088863a [v6/v7 Schematic] Better error when we hit an UUID issue 2023-04-28 09:24:26 -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 42445e8294 [v6/v7 Schematic] Fixed error introduced in the crossed lib 2023-04-27 17:10:21 -03:00
Salvador E. Tropea 0f5d5c5381 [v6/7 Schematic] Separated the cross and hierarchy expansion
- At least logically
- They still tied, but can be separated
2023-04-27 16:39:32 -03:00
Salvador E. Tropea f6c358b829 [v6/7 Schematic] Added support for bogus "project"
- One of those things KiCad saves but does nothing.
2023-04-27 16:27:20 -03:00
Salvador E. Tropea f05b8bcf88 [v6/v7 Schematic] More debug info 2023-04-27 16:23:27 -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 6b9ab5f448 [v6/v7 Schematic] Allow loading files without UUIDs
- This is currently working only for v7, needs rework for v6
2023-04-26 08:41:13 -03:00
Salvador E. Tropea b2db4f33d0 [v6/7 Schematic][Fixed] Error in saved version
- Mixing save/load v6/v7 produced hybrids
2023-04-26 08:39:52 -03:00
Salvador E. Tropea 5a8c54fe44 [v6/7 Schematics][Fixed] Repeated UUIDs saved in variants
- Mostly oriented to v7
2023-04-25 11:17:43 -03:00
Salvador E. Tropea 0bed962565 [v6/7 Schematic][Fixed] Net Class Flags not saved 2023-04-25 11:12:56 -03:00
Salvador E. Tropea 17b861260b [v6/7 Schematic][Fixed] Text boxes mixed with common text
- Not really important because they got correctly saved anyways
2023-04-25 11:09:19 -03:00
Salvador E. Tropea d4ceef8fb9 Bumped version to 1.6.3 2023-04-24 13:31:06 -03:00
Salvador E. Tropea 9b88e25d10 [Blender Export] Updated the blender script
- To support the new options
2023-04-24 12:36:35 -03:00
Salvador E. Tropea 2ed0622a8b [Blender Export] Better light and with more options 2023-04-24 11:17:12 -03:00
Salvador E. Tropea d3f9a15739 [Added] Export KICADn_* environment variables for the older versions
- So you can use KICAD6_* variables on KiCad 7.
2023-04-21 11:30:48 -03:00
Salvador E. Tropea f8cc0e29bb Removed debug code 2023-04-18 11:25:12 -03:00
Salvador E. Tropea 97ff9a0d09 [PcbDraw] Better error when a style is missing
- Now we don't lie about using a path if the name is absolute
2023-04-16 09:00:02 -03:00
Salvador E. Tropea 1b66992088 [Preflights][Fixed] Temporals not removed on success 2023-04-16 08:19:08 -03:00