Commit Graph

891 Commits

Author SHA1 Message Date
Salvador E. Tropea 27e4c23236 Added support for reference separator in BoMs.
So you can get things like "R1, R2, R3"
From the following PR: SchrodingersGat/KiBoM#139
by @n0dyjeff
2020-09-19 17:35:31 -03:00
Salvador E. Tropea 1ed960d045 Replaced dicts used just to test membership by sets. 2020-09-12 12:50:16 -03:00
Salvador E. Tropea 257b9fdd3f Added tests for global and command line variant selection. 2020-09-12 08:24:47 -03:00
Salvador E. Tropea 2c98b2b634 Linked to the variants site instead of the repo.
Now I use a nice skin ;-)
2020-09-11 17:55:32 -03:00
Salvador E. Tropea f131be6bd9 Bumped version to 0.7.0 2020-09-11 17:55:03 -03:00
Salvador E. Tropea 6bc99920c1 Added ardu_prog.kibot.yaml to the Debian package. 2020-09-11 17:54:28 -03:00
Salvador E. Tropea ed40c64af7 Added note and link to the variants example site 2020-09-11 17:15:53 -03:00
Salvador E. Tropea 5cb239a651 Added the variants example 2020-09-11 17:15:20 -03:00
Salvador E. Tropea af567b611f Bumped version to 0.7.0rc2 2020-09-11 12:54:33 -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 80005f2871 Fixed: solder paste and adhesive glue should also removed for print 2020-09-11 12:50:14 -03:00
Salvador E. Tropea 6600597a0f Updated the Debian post install script 2020-09-11 12:49:01 -03:00
Salvador E. Tropea 5be4a64293 Bumped version to 0.7.0rc1 2020-09-10 16:03:03 -03:00
Salvador E. Tropea f38b63236d Avoid repeating the same warning.
Also report a warnings count.
2020-09-10 15:50:53 -03:00
Salvador E. Tropea 6b21f00a65 Removed extra blanck line. 2020-09-10 15:47:18 -03:00
Salvador E. Tropea 9625756167 Added new command line option 2020-09-10 15:12:41 -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 709d6facb9 Fixed warnings when printing a schematic variant.
We use a temporal copy of the schematic in a temporal dir.
So now we add a dummy .pro file to avoid warnings.
2020-09-10 12:54:43 -03:00
Salvador E. Tropea c522fa003e Fixed problems with 3D relative models in STEP output
When using a variant and one or more 3D models were stored in a
relative path the STEP file didn't contain them.
This is because we use a temporal PCB and it was stored in /tmp
Now is stored in the same directory as the real PCB.
2020-09-10 12:52:07 -03:00
Salvador E. Tropea f25fd80b65 Applied #11 to README.in to preserve changes. 2020-09-09 08:43:16 -03:00
Salvador E. Tropea 2c86d6d646
Merge pull request #11 from hoijui/master
README: Make navigation more easy
2020-09-09 08:40:39 -03:00
hoijui 2cdc959785 README: Use more standard headers and add an Index 2020-09-09 13:26:28 +02: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 23e46df1c5 Added variants support to the PCB print (PDF)
Needs some adjustement, but is working.
2020-09-07 19:26:16 -03:00
Salvador E. Tropea 0e394b468b Added variants support to the schematic SVG print. 2020-09-06 18:22:38 -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 f7e8033a09 Make clear that KiBoM output doesn't support KiBot variants.
The internal BoM can be used instead.
2020-09-06 12:03:55 -03:00
Salvador E. Tropea 30c98da2b7
Merge pull request #9 from INTI-CMNB/ibom_with_variant
Ibom with variant
2020-09-05 19:43:05 -03:00
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