Salvador E. Tropea
59ddbaa41f
Adjusted the tests for IBoM's variants support.
...
- Removed the extra filters that aren't needed now.
- Added a couple of test cases to cover special situations.
2020-09-05 19:31:29 -03:00
Salvador E. Tropea
b94a2cb6a4
Updated the readme and generic example.
...
Explanations about which IBoM options are native.
2020-09-05 18:59:21 -03:00
Salvador E. Tropea
d719718eca
Moved KiBoM default behavior to the KiBoM variant.
...
So it can be applied to other outputs.
2020-09-05 18:58:26 -03:00
Salvador E. Tropea
1163d28e71
Added "Not " prefix to negation filter names.
2020-09-05 18:56:01 -03:00
Salvador E. Tropea
6800a747e6
Fixed flake8 details
2020-09-05 18:54:54 -03:00
Salvador E. Tropea
7e5791fcfa
Added variants to the IBoM output.
2020-09-05 17:48:25 -03:00
Salvador E. Tropea
a59870808d
Made the image comparisson more fuzzy.
2020-09-04 18:51:05 -03:00
Salvador E. Tropea
d09400d49d
Added support for variants to the PcbDraw output.
2020-09-04 18:08:22 -03:00
Salvador E. Tropea
dab7baa2d4
Fixed show_components validation in out_pcbdraw.
...
The same error could be in other places.
I had to change the internal logic in Optionable.
The old code allowed invalid values to be used.
2020-09-04 18:06:17 -03:00
Salvador E. Tropea
cf46a8ba86
Added variants support to the STEP output.
...
3D Models of excluded components are removed.
2020-09-03 18:50:30 -03:00
Salvador E. Tropea
df7b237b0e
Merge pull request #8 from INTI-CMNB/layer_exclude
...
Layer exclude
2020-09-03 17:31:00 -03:00
Salvador E. Tropea
49d0867001
Updated the changelog.
2020-09-03 17:20:38 -03:00
Salvador E. Tropea
b36e276969
Added crosses in the *.Fab layer for excluded components.
2020-09-03 17:17:08 -03:00
Salvador E. Tropea
8bf0a13210
Remove filtered components from the *.Adhes layer.
...
All shapes in the *.Adhes are removed.
2020-09-03 12:29:04 -03:00
Salvador E. Tropea
8c34d96ccf
Updated README and generic example.
...
Variants in plot outputs
2020-09-03 11:12:13 -03:00
Salvador E. Tropea
c56af11007
Added variants to all the PCB plot outputs.
...
Tested for gerbers that are currently excluding pads from *.Paste.
2020-09-03 11:11:03 -03:00
Salvador E. Tropea
26ee971e26
Added variants suport to out_position
...
Also: we never include virtual components.
2020-09-02 18:08:50 -03:00
Salvador E. Tropea
5e11b325a1
Added test for multiple calls to KiConf.init()
...
Now that the code avoids calling it over and over.
2020-09-02 18:08:26 -03:00
Salvador E. Tropea
d681528a03
Fixed: SCH load and PCB components consolidation reuse.
...
The code did the tasks over and over.
2020-09-02 18:08:04 -03:00
Salvador E. Tropea
712d135df5
Fixed: if no filters are applied we must reset the fields.
...
Added funtions to apply the filters
Moved code from bom.py to out_bom.py
2020-09-02 18:07:38 -03:00
Salvador E. Tropea
2fabf6da0c
Limited the log lines in single_test target.
2020-09-02 17:55:48 -03:00
Salvador E. Tropea
b621c24152
Merge pull request #7 from INTI-CMNB/filter_virtual
...
Filter virtual
2020-09-02 15:28:11 -03:00
Salvador E. Tropea
b3d806587a
Added information about KiCad PCB module attributes.
2020-09-02 15:17:58 -03:00
Salvador E. Tropea
9558f7cf45
Added test for rogue component in PCB.
2020-09-02 15:16:23 -03:00
Salvador E. Tropea
42562185ea
Added filter options using PCB attributes.
...
KiCad 6 will break this, we'll see how to adapt.
2020-09-02 14:48:26 -03:00
Salvador E. Tropea
13ce3251da
Merge pull request #6 from INTI-CMNB/gen_sch_variant
...
Gen sch variant
2020-09-02 10:34:07 -03:00
Salvador E. Tropea
6fa903ed8f
Added the schematic print variants support to the changelog.
2020-09-02 10:30:40 -03:00
Salvador E. Tropea
220e2f252e
Added tests for various schematic strange cases.
...
- Component withour lib
- Missing component
- Poligon without points
- Pin with unknown direction
2020-09-02 10:04:32 -03:00
Salvador E. Tropea
018d99e3b2
Updated the "all-in-one" PDF reference.
2020-09-01 20:39:44 -03:00
Salvador E. Tropea
ff6282eca1
Added test for the new errors in DrawText elements.
2020-09-01 20:39:15 -03:00
Salvador E. Tropea
11cb826c06
Added more complexity to the "all-in-one" schematic.
...
- Use a library
- Use a compponent with user defined field.
- Get the user defined field from the lib
- Use a component with a circle
- Use a component with text
- Use a virtual component with ~ in name and # in ref
2020-09-01 20:35:43 -03:00
Salvador E. Tropea
0a6fdccb1d
Removed dead code.
2020-09-01 20:32:41 -03:00
Salvador E. Tropea
0b3c36d11a
Fixed the DrawText.write method
...
Was writing an extra quote
2020-09-01 20:31:41 -03:00
Salvador E. Tropea
76ea47c04f
Now the default exclude filter excludes ref == '#*'
2020-09-01 20:30:34 -03:00
Salvador E. Tropea
12534d8202
Added new filter criteria: exclude ref == '#*'
2020-09-01 20:29:49 -03:00
Salvador E. Tropea
7dfd7aab16
Updated the way we generate the test_v5-schematic_(no_L).pdf reference
2020-09-01 20:28:19 -03:00
Salvador E. Tropea
e0de652105
Added more tests for the filters and variants.
2020-09-01 18:49:38 -03:00
Salvador E. Tropea
9ebf18ba11
Added new basic filters.
...
`!` is always False
`_none` is no filter
2020-09-01 18:48:45 -03:00
Salvador E. Tropea
563c00cc5b
Enabled the variants exception catch.
...
Now the variants configuration can raise exceptions.
2020-09-01 18:47:38 -03:00
Salvador E. Tropea
8a2810fd8d
Added support to remove the filters of the internal BoM.
2020-09-01 18:46:59 -03:00
Salvador E. Tropea
20936da07e
Updated the README and generic example.
...
- Plural removed from BoM variant
- Support for filter in sch_variant and pdf_print_sch
- Support for variant in pdf_print_sch
2020-09-01 16:57:31 -03:00
Salvador E. Tropea
7f6144e32e
Added tests for sch_variant and pdf_print_sch
...
For the filter and variant stuff.
2020-09-01 16:56:31 -03:00
Salvador E. Tropea
c26481790a
Added support for filters to sch_variant
2020-09-01 16:55:36 -03:00
Salvador E. Tropea
0216fc93c7
Added support for filters and variants to pdf_print_sch
2020-09-01 16:54:51 -03:00
Salvador E. Tropea
05f14e2049
Removed the plural in variant.
...
Is just one. It can be complex, but one name.
2020-09-01 16:51:11 -03:00
Salvador E. Tropea
16aefbffb6
Removed debug print.
2020-09-01 16:49:51 -03:00
Salvador E. Tropea
7cd0ccafa1
Fixed component save method.
...
The first value of the redundant position is the unit.
Not always 1.
2020-09-01 16:48:43 -03:00
Salvador E. Tropea
4b007938c1
Updated README and generic example.
...
- New output format (Schematic variant)
- Support for global output names in gerber.
2020-08-31 20:52:48 -03:00
Salvador E. Tropea
744aa3b9c5
Added a simple output to generate filtered schematics.
...
They can display DNF components crossed!
2020-08-31 20:51:20 -03:00
Salvador E. Tropea
4cc8a0916f
Added filters to the variants.
...
So they have the same functionality than internal BoM.
I keep the (redundant) filters in internal BoM so users doesn't need to
create a variant just to apply a filter.
2020-08-31 20:49:41 -03:00