Commit Graph

94 Commits

Author SHA1 Message Date
Salvador E. Tropea 80b7510c80 Made the JLCPCB position example more clear and easier to reuse. 2021-02-12 11:08:09 -03:00
Salvador E. Tropea d97ca18590 Added test for rotation filter in the bottom side. 2021-02-03 17:13:12 -03:00
Salvador E. Tropea 602f0dd261 Added a STEP test using a model that is inside our tree.
Ensures all models will be found.
2021-02-03 11:26:37 -03:00
Salvador E. Tropea 0b3891d942 Added tests for bogus 3D model and another shipped. 2021-02-03 11:12:24 -03:00
Salvador E. Tropea 2bbbebf43a Added test for schematic with company name in merged BoM tests. 2021-02-02 12:13:33 -03:00
Salvador E. Tropea 84470bbc11 Added first makefile generation test 2021-01-28 12:43:01 -03:00
Salvador E. Tropea f279e7319e Added test for a BoM from multiple projects. 2021-01-27 11:51:26 -03:00
Salvador E. Tropea 15474ae4d7 Now you can consolidate more than one project in one BoM.
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -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 9f8ecff5d1 Added support to rename fields matching the variant to value. 2020-12-23 12:11:39 -03:00
Salvador E. Tropea 986f0c7157 KiBoM variants: support to field overwrite according to variant 2020-12-18 15:39:58 -03:00
Salvador E. Tropea 26d81d6475 Added support for missing field names in libraries.
- Closes #32
- Reported on SnapEda libs
2020-12-16 12:16:03 -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 e6557a8148 Fixed wrong test project added to repo. 2020-10-24 17:17:22 -03:00
Salvador E. Tropea 68269c10f1 Avoid KiAuto warnings about missing project for pdf_pcb_print
This applies to cases using variants.
Now we copy the current project to the temporal location.
Closes #23
2020-10-24 16:25:09 -03:00
Salvador E. Tropea df83e6f93d Added more KiCad 6 test cases. 2020-10-19 13:15:33 -03:00
Salvador E. Tropea 17e75236da KiCad 6 no longer has SetPlotPadsOnSilkLayer 2020-10-16 18:40:20 -03:00
Salvador E. Tropea fec0091712 Added support for KiCad 6 to drill outputs.
I wonder why KiCad 6 doesn't provide a compatibility function for
GetAuxOrigin. The project seems to be trying to reduce the ammount
of code (removing old code) at the cost of breaking every existing
plug-in.
2020-10-16 17:04:37 -03:00
Salvador E. Tropea d4a2d40593 Adapted some `bom` tests to pass with KiCad 5.99. 2020-10-15 18:58:10 -03:00
Salvador E. Tropea 395f2df3f0 Updated to include the footprints. 2020-10-15 18:56:10 -03:00
Salvador E. Tropea c80fc49b54 Added infraestructure to support KiCad 6 tests. 2020-10-14 18:03:18 -03:00
Salvador E. Tropea 1aee407cb9 Fixed KiBom variants special cases.
When using multiple variants and a components used more than one,
specifying oposite rules.
2020-10-09 16:00:52 -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 7e5791fcfa Added variants to the IBoM output. 2020-09-05 17:48:25 -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 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 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 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 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 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 0f0aa71baa Added more tests for the filters and variants 2020-08-30 11:55:35 -03:00
Salvador E. Tropea 249caad348 Implemented the IBoM variants styles.
The core functionality is now tested in the internal BoM.
The IBoM output needs adjust to allow using the variants with it.
2020-08-28 20:12:21 -03:00
Salvador E. Tropea 140a45fdc6 Fixed variants BoM logic.
The variants logic for BoMs when a component resquested to be only
added to more than one variant.
This is related to SchrodingersGat/KiBoM#136 issue.
2020-08-24 10:53:56 -03:00
SET 991f070e9f Added variants test. 2020-08-15 20:33:09 -03:00
SET 487021357b Added tests for errors in the sym-lib-table 2020-08-15 12:42:07 -03:00
SET 8ede3089de Fixed test with 2 LIBS entries.
Only one is valid.
2020-08-15 10:32:31 -03:00
SET 90dee902ed Added tests for various strange cases that shouldn't interfere
Partial annotations, deeper hierarchy, etc.
2020-08-15 10:25:18 -03:00
SET b8b4c87f25 Added test for successful BoM generation even when missing libs. 2020-08-14 19:58:47 -03:00
SET 09b7ed5eca Added tests for title block errors. 2020-08-14 19:26:39 -03:00
SET 76ed259053 Moved the error tests to a separated directory.
They are too much.
Also simplified the test code.
2020-08-14 19:15:50 -03:00
SET fa706c0083 Added tests for sub-sheets instantation 2020-08-14 18:59:20 -03:00
SET c15e971da2 Added tests for errors in the SCH bitmap element. 2020-08-14 18:41:12 -03:00
SET a30bddc3ce Added tests for errors in no/connections, entries and wires. 2020-08-14 18:18:55 -03:00
SET a1255590e2 Added test for various errors in the component instantiation. 2020-08-14 18:02:32 -03:00
SET 6258b79023 Added test for errors in AR and basic fields. 2020-08-14 17:29:18 -03:00
SET 844b678ace Added test for errors in component labels. 2020-08-14 16:53:50 -03:00
SET 916aacafd6 Added more tests for the DCM and LIB errors. 2020-08-14 16:43:09 -03:00