Commit Graph

891 Commits

Author SHA1 Message Date
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 b17e9d78b2 Modified test reference dir for KiCad 5.1.8. 2020-12-16 12:14:44 -03:00
Salvador E. Tropea d3e38ff748 Added a testing directory to the flake8 exclude list. 2020-12-16 12:13:56 -03:00
Salvador E. Tropea d201843b6a File name patterns are allowed for the `netlist_file` option.
- Closes #33
- File name patterns: %F is the name of the source file without
  extension, but with the path.
2020-12-16 11:10:36 -03:00
Salvador E. Tropea 351e734dd6 Fixed long line (flake8) 2020-12-09 13:02:51 -03:00
Salvador E. Tropea 4d0a154632 Bumped version to 0.8.1 2020-12-09 12:58:01 -03:00
Salvador E. Tropea 5a981bbd81
Merge pull request #30 from skorokithakis/patch-1
Fix import issue when a shorter base path matches before a shorter one
2020-12-09 12:37:34 -03:00
Stavros Korokithakis aae76c6388
Fix import issue when a shorter base path matches before a shorter one 2020-12-09 16:49:18 +02:00
Salvador E. Tropea 7248258672 Added Internal BoM HTML details.
- highlight cell when hover.
- allow to jump to REF of row number using anchors.
2020-12-09 11:32:37 -03:00
Salvador E. Tropea 1248e92b95 Fixed Internal BoM separator wasn't applied when using `use_alt`
From the SchrodingersGat/KiBoM#145 PR.
2020-11-11 14:32:20 -03:00
Salvador E. Tropea 305e3251fa Updated the README and generic example.
- Added gerber notes
- Added new gerber option (KiCad 6)
2020-11-06 17:13:23 -03:00
Salvador E. Tropea e467368ea8 Added some notes about the gerber files. 2020-11-06 17:12:55 -03:00
Salvador E. Tropea b09c860573 Added support for KiCad 5.99 "disableapertmacros" option. 2020-11-06 17:05:33 -03:00
Salvador E. Tropea a27ff89f92 Updated README.md
From PR #27
2020-11-06 15:21:32 -03:00
Salvador E. Tropea 8ece829204
Merge pull request #27 from nerdyscout/patch-1
fix indentation and proper upload-artefacts version
2020-11-06 15:20:29 -03:00
nerdyscout bd7160b6a2 fix indentation and proper upload-artefacts version 2020-11-06 17:46:13 +00:00
Salvador E. Tropea 019cb0c8a4 Bumped version to 0.8.0.
Also Python version to 3.6 (mcpyrate)
2020-11-06 13:51:19 -03:00
Salvador E. Tropea 577713efeb Fixed excellon drill output.
When using unified output and not using default KiCad names.
Fixes #25
2020-11-02 16:07:05 -03:00
Salvador E. Tropea 8fb99d8adf Adjusted flake8 details 2020-11-02 16:06:02 -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 2e568a563a Adapted the colors test to colorama ANSI sequence. 2020-10-24 17:26:32 -03:00
Salvador E. Tropea adf6c7a5b1 Modified tests to keep kibom-variant_3.pro 2020-10-24 17:22:08 -03:00
Salvador E. Tropea e6557a8148 Fixed wrong test project added to repo. 2020-10-24 17:17:22 -03:00
Salvador E. Tropea dfd3ac8881 Added support for colorama.
This isn't really needed, but makes the port to Windows easier.
2020-10-24 17:07:58 -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 de9628e5c1 Added columns configuration for position files.
You can customize which columns are used, their names and order.
Closes #22
2020-10-23 14:18:11 -03:00
Salvador E. Tropea 67d879ece1 Fixed flake8 details 2020-10-22 13:22:03 -03:00
Salvador E. Tropea a623d9168c Adapted to last KiCad 5.99 Python interface.
- SKETCH and FILLED are defined again.
- SetDXFPlotUnits type is now exported.
2020-10-22 13:03:31 -03:00
Salvador E. Tropea 1a77b2d007 Added support for build versions of KiCad compiled locally. 2020-10-22 13:01:53 -03:00
Salvador E. Tropea 4ba31115d2 Added information about KiCad paths on MacOSX 2020-10-20 13:28:24 -03:00
Salvador E. Tropea 263b9c41e4 Fixed log.init() errors when pcbnew/yaml modules aren't installed.
Also added tests for these cases.
2020-10-20 11:41:01 -03:00
Salvador E. Tropea 6bbd15eaf2 Updated README and generic example.
More KiCad 5 specific settings.
2020-10-19 16:49:08 -03:00
Salvador E. Tropea 14cdd33c6d Added support for the KiCad 6 default layer names.
Not deeply tested.
KiCad 6 support user names for technical layers, and assigns new
names to them.
2020-10-19 16:47:13 -03:00
Salvador E. Tropea dbcbbfeb47 Fixed missing GS declarations. 2020-10-19 16:04:03 -03:00
Salvador E. Tropea 66e6bdf5b6 Disabled more line width code for KiCad 6. 2020-10-19 16:00:21 -03:00
Salvador E. Tropea d2cceb7975 Updated README and generic example
KiCad 5 options
2020-10-19 13:37:06 -03:00
Salvador E. Tropea 3977a55d4a Fixed indentation 2020-10-19 13:36:49 -03:00
Salvador E. Tropea 8a87a677e2 Fixed plot constant names
Too much cut & paste
2020-10-19 13:36:02 -03:00
Salvador E. Tropea df83e6f93d Added more KiCad 6 test cases. 2020-10-19 13:15:33 -03:00
Salvador E. Tropea 4fff3d27e9 KiCad 5.99 no longer supports PCB_PLOT_PARAMS.SetLineWidth() 2020-10-19 13:13:21 -03:00
Salvador E. Tropea 3579080e15 Added workaround for KiCad 5.99 bug.
PCB_PLOT_PARAMS.SetPlotMode argument values (SKETCH and FILLED) are
missing.
https://gitlab.com/kicad/code/kicad/-/issues/6070
2020-10-19 13:11:30 -03:00
Salvador E. Tropea 127ad89483 Added the name of the error to the tests when it fails.
Not just the error level.
2020-10-19 13:10:24 -03:00
Salvador E. Tropea 9c876d5783 Removed dead code in macros.py 2020-10-17 16:51:17 -03:00
Salvador E. Tropea d850bb8ffe
Merge pull request #19 from INTI-CMNB/try_mcpyrate
Replace mcpy by mcpyrate
2020-10-17 15:28:40 -03:00
Salvador E. Tropea 1c26dd5f66 Added note about pip installing at system level.
Recommended manual cache generation.
2020-10-17 15:19:09 -03:00
Salvador E. Tropea 52a29c26d7 Implemented `de_activate` in mcpyrate.activate
This disables macros after loading the plug-ins.
Now the timing is 160 ms, 30% faster than `mcpy` and 4 times faster
than `macropy`
2020-10-17 15:01:21 -03:00
Salvador E. Tropea a62c3440e3 Disabled the cache related tests, no longer apply. 2020-10-17 14:30:23 -03:00
Salvador E. Tropea f96f56f0ee Modified the Debian postint script for mcpyrate.
Now we generate the cache files running kibot after installation.
2020-10-17 14:28:14 -03:00
Salvador E. Tropea 307e553534 Added more info to the plug-ins load fail.
Trying to see why it fails (not in my docker image?!)
2020-10-17 12:03:33 -03:00
Salvador E. Tropea 2d55859782 Code style fixes (flake8) 2020-10-17 12:03:06 -03:00