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
SET
28947ed70d
Added support for relative imports to mcpy
2020-08-19 12:29:38 -03:00
SET
89914443f0
Renamed the kiplot module as kibot.
...
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00