Salvador E. Tropea
6c7e0cebe0
Now GS.ki5() and GS.ki6() are just GS.ki5 and GS.ki6
...
- The version doesn't change during execution ;-)
2022-07-31 17:45:55 -03:00
Salvador E. Tropea
320f1a38ff
[iBoM] Fixed: G/SetFPIDAsString needs KiCad 6.0.6+
2022-07-30 11:05:43 -03:00
Salvador E. Tropea
3b6c9e7d8b
[iBoM] Added support for variants that change component fields
...
Closes #242
2022-07-30 10:39:48 -03:00
Salvador E. Tropea
54dd130e4f
Highlighted the most relevant options
2022-06-08 08:37:30 -03:00
Salvador E. Tropea
043ee382d3
Implemented output priorities
...
- By default `qr_lib` is high priority and `navigate_results`/
`compress` are low priority.
- Priorities can be configured.
- A command line option disables it.
2022-06-07 13:57:32 -03:00
Salvador E. Tropea
c8f4df5aa7
Added configurable categories
...
- Also allow to mix categories and outputs on the same page
2022-06-06 13:01:17 -03:00
Salvador E. Tropea
684b996ced
Added `navigate_results` output
...
- It generates web pages to navigate all generated outputs by category
2022-05-27 13:38:32 -03:00
Salvador E. Tropea
56030c5dc9
Added the first stepof the new `--quick-start` option
...
- Should be a way to quickly start using KiBot without any config
2022-04-26 09:51:14 -03:00
Salvador E. Tropea
8c1d6e53c2
Now an output can extend another output that extends ...
...
- Even when the other outputs aren't yet configured
- Also added an error when the types doesn't match
Closes #184
2022-04-14 10:38:07 -03:00
Salvador E. Tropea
0e8e697d19
Fixed title not restored in print functions
...
Fixes #185
2022-04-14 09:59:25 -03:00
Salvador E. Tropea
9e1f645c31
Fixed problems when using page layout files with relative paths.
...
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
d7430499d2
Removed coverage exclusions for KiCad 6 code
2022-02-11 12:58:39 -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
9417b61478
Moved all loggers to the same domain.
...
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Diego Capusotto
95f9b7914e
KiCad 6 doesn't support the Rescue layer
...
- Now we use User.9 for KiCad 6
2021-12-18 18:38:08 -03:00
Diego Capusotto
6e5176b273
Simplified the code that detects KiCad v6
2021-12-17 13:11:42 -03:00
Diego Capusotto
69c874fdbd
KiCad v6: Added support for the new "modules" name ("footprints")
...
- No alias provided, as usual
2021-12-17 12:46:40 -03:00
Diego Capusotto
58a8035704
out_base.py: adapted to new sequence intialization for tests.
2021-12-17 11:46:15 -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
e2599731f7
Added `output_id` output option to be expanded by %I
2021-12-14 16:19:49 -03:00
Salvador E. Tropea
70fb334856
A mechanism to avoid running some outputs by default.
...
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea
a430916a4a
Now you get an error when defining two outputs with the same name.
2021-12-02 14:58:37 -03:00
Salvador E. Tropea
95135c8c56
New expansion patterns and out_dir from global section.
...
- Also added expansion in out_dir
- Related to #116
2021-11-30 19:12:14 -03:00
Salvador E. Tropea
fadb255781
Changed examples to avoid schematic dependencies.
...
Closes #118
Now the examples use `_none` as empty filter.
2021-11-30 15:07:43 -03:00
Salvador E. Tropea
dd265fa2e0
Fixed compress: not expanding %VALUES in target dirs.
...
Fixes #111
2021-11-19 10:15:58 -03:00
Salvador E. Tropea
b4c1531e10
PCB PDF Print: mechanism to change the block title.
...
- Related to #102
- Also added %V to expand the variant name
- Documented %v and %V
2021-11-17 10:51:28 -03:00
Salvador E. Tropea
365ca790d5
Changed output.dir default to `./`
...
- Makes easier to concatenate using `+DIR`
2021-11-16 06:44:01 -03:00
Salvador E. Tropea
998754753d
Added Default global `dir` option
2021-11-15 14:40:30 -03:00
Salvador E. Tropea
bc5d1b15c6
Generic filter: added options to match if a field is/isn't defined.
2021-10-18 17:05:51 -03:00
Salvador E. Tropea
b3a4fec5b7
Option to hide component from PDF PCB Print
...
- option `hide_excluded` to hide components marked by the
`exclude_filter`.
- https://forum.kicad.info/t/fab-drawing-for-only-through-hole-parts/
2021-10-14 14:07:35 -03:00
Salvador E. Tropea
1290bb6995
New KiCost variant style.
...
- New internal filters `_var_rename_kicost` and `_kicost_dnp`.
- New `skip_if_no_field` and `invert` options to the regex used in the
generic filter.
2021-03-30 09:37:36 -03:00
Salvador E. Tropea
91dc9c5488
Added support for filters that adds/removes components.
...
- Intended for BoM transformations
- Also enhanced the support for filter chains
2021-03-19 19:20:53 -03:00
Salvador E. Tropea
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea
10f0706482
Exclude KiCad 6 code and enabled coverage for out_base tests.
2021-02-01 16:39:10 -03:00
Salvador E. Tropea
7422e9726c
Removed some "no cover" comments, clasified the rest
2021-02-01 08:53:24 -03:00
Salvador E. Tropea
73cb98f113
Makefile generation.
2021-01-22 17:22:18 -03:00
Salvador E. Tropea
88cd5927dc
Now you can ask to compress the targets of an output (by out put name)
2021-01-18 16:12:30 -03:00
Salvador E. Tropea
b347a6ca30
The board object is no longer passed to run methodes.
...
The global GS.board is used instead.
2021-01-15 14:14:17 -03:00
Salvador E. Tropea
4a3e7faace
Added a new filter used to rotate footprints.
...
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
enabled.
2020-12-28 18:26:27 -03:00
Salvador E. Tropea
007fc36d1e
Fixed the components fields reset mechanism.
...
My previous approach was incomplete.
2020-12-23 18:47:11 -03:00
Salvador E. Tropea
204ad189de
Changed how variant field renamer is implemented.
...
- Now is a separated filter type (`var_rename`).
- Now all variants support a `pre_transform` filter list.
- An internal `_var_rename` filter is defined (default).
2020-12-23 10:19:23 -03:00
Salvador E. Tropea
b27872d7e8
Fixed problems when using the `pdf_pcb_print` on special case.
...
When using variants to remove a component with ridiculous pads
that only has solder paste (no copper, nor even solder mask
aperture).
2020-10-27 17:58:51 -03:00
Salvador E. Tropea
9bb42eda9a
Added support for the new EDGE_MODULE name: FP_SHAPE
...
KiCad 6 is renaming part of the API without providing compatibility
aliases.
2020-10-14 16:08:21 -03:00
Salvador E. Tropea
bef2203b24
Changed the layer number used to disable *.Adhes
...
Using undefined generates errors.
Now using "Rescue" layer.
2020-09-11 12:51:33 -03:00
Salvador E. Tropea
512776ce8e
Added a mechanism to set a default variant for all outputs.
...
It can be used to overwrite the output file template too.
2020-09-10 12:56:53 -03:00
Salvador E. Tropea
b03b56ae5d
Added more coherence to the variants/filters.
...
- Now they behave more coherently across outputs.
- Component status is explicitly reset, so having a variant + filter
behaves in a more consistent way. Even when this isn't the
recommended use.
- Virtual components are handled by the exclude filter.
- Moved code to modify the PCB to VariantOptions.
- Added a real virtual component to the tests, not a ridiculous case.
2020-09-08 20:01:16 -03:00
Salvador E. Tropea
64f50d2a07
Moved repeated code related to variants to a base class.
2020-09-06 17:36:29 -03:00
Salvador E. Tropea
6af9faf909
Created the base filter class and the generic filter.
...
Moved all the KiBoM and IBoM filter functionality that was in their
variants to this generic mechanism.
2020-08-29 17:39:56 -03:00
Salvador E. Tropea
3be45edf07
Added the basic infraestructure for variants.
...
Now variants are defined separately so we can apply the variants for
more than one output.
It will also allow different variant semantics.
2020-08-28 16:46:24 -03:00