Salvador E. Tropea
fb082fcbb3
Added `kibot-check` tool to check the installation
2022-05-20 13:26:41 -03:00
Salvador E. Tropea
ca861fc21e
Added dependency collection mechanism
...
- Currently used to better document the dependencies
2022-05-19 08:47:06 -03:00
Salvador E. Tropea
054a090258
Added netlist export output
...
Closes #197
2022-05-18 09:49:17 -03:00
Salvador E. Tropea
56030c5dc9
Added the first stepof the new `--quick-start` option
...
- Should be a way to quickly start using KiBot without any config
2022-04-26 09:51:14 -03:00
Salvador E. Tropea
0554742e86
Moved the KiCad 5 SVG scale constant to misc.py
2022-04-23 07:54:13 -03:00
Salvador E. Tropea
bca090b685
Added `realistic_solder_mask` to `pcb_print`
...
- Prints the solder mask in a human understandable way
2022-04-22 14:05:41 -03:00
Salvador E. Tropea
58dc329b31
Added a report option to indicate our Eurocircuits target
...
- If not met we show a warning explaining the violation
Related to #164
2022-04-21 15:59:46 -03:00
Salvador E. Tropea
fee5bce881
Added warnings for ridiculous OAR values on pads
...
Related to #164
2022-04-20 20:38:14 -03:00
Salvador E. Tropea
4b341a7a92
Added internal plot of the worksheet to pcb_print
...
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea
3752bcb53e
Finished adding all the plot options to `pcb_print`
...
- Now is you can get most of the good things from both: print and plot
in the same output.
- Is usually much faster than `pdf_pcb_print`
2022-04-08 15:01:10 -03:00
Salvador E. Tropea
9e1f645c31
Fixed problems when using page layout files with relative paths.
...
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea
beee95ce31
Merged the kicost_dk branch:
...
- New internal BoM XLSX options to control KiCost:
- Dis/Enable APIs
- Add a description column
- Specs worksheet generation
- Which spec columns
- Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea
afc499e055
Added support for Pandoc 2.2.1
...
- Used on Debian 10.x
- Doesn't support "--to pdf", but can generate PDFs ...
2022-03-17 14:42:51 -03:00
Salvador E. Tropea
6b6d22afa8
Added report conversion using pandoc
2022-03-17 12:13:51 -03:00
Salvador E. Tropea
342fb40c59
Added text variable replace in the title block items
...
- There are some limitations inm the depth of vars + %X usage
Closes #162
2022-03-13 15:18:44 -03:00
Salvador E. Tropea
cb47cf3042
New output to export PCB in GENCAD format.
...
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea
780fc25b26
Enabled render_3d output for KiCad 6 now KiCad bug is fixed.
2022-03-08 12:06:49 -03:00
Salvador E. Tropea
0c0c6ffd62
New output to join PDFs.
...
Closes #156
2022-03-03 16:13:00 -03:00
Salvador E. Tropea
f0c581d144
Fixed C405 Unnecessary list literal - rewrite as a set literal.
2022-02-17 16:31:30 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
33da0f9e87
Added support for KiCad 6 copper finish option.
2022-01-16 13:24:10 -03:00
Salvador E. Tropea
a2f5da14ab
Now the global PCB detail vars control the default colors
...
- Used by rednder_3d and pcbdraw outputs.
2022-01-14 13:42:35 -03:00
Salvador E. Tropea
e5ed4b6652
Added support for variants on KiCost output.
...
Related to #106
2021-12-30 18:26:31 -03:00
Salvador E. Tropea
6d939bbdbe
Added datasheets downloader
...
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea
358fb4f816
Added message about problems with 3D Viewer on KiCad 6.0.0.
2021-12-28 18:04:20 -03:00
Salvador E. Tropea
057f8688da
Added support for STEP generation using KiCad 6
...
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Diego Capusotto
25d036f8fa
Added some preliminary support for v6 SCHs
...
- Currently just loads the files
- No save implemented
- Seems to be enough to generate some trivial BoMs
2021-12-16 17:08:33 -03:00
Diego Capusotto
3eb82bc86d
Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
...
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Salvador E. Tropea
6a691cf362
Added pre-flight to replace in the PCB
...
- Also added some constrains to what can be substituted to avoid
corrupting the files.
2021-12-03 16:52:04 -03:00
Salvador E. Tropea
9cd2581582
Added new pre-flight command to replace tags in the schematic.
...
Related to #93 , but also an old idea floating around.
2021-12-03 14:37:53 -03:00
Salvador E. Tropea
6392124f9f
Added import for globals.
2021-12-02 10:33:19 -03:00
Salvador E. Tropea
49ea1bb62a
Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
...
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea
27b26feb88
Added 3D view render
...
Related to #99
2021-11-17 17:40:54 -03:00
Salvador E. Tropea
18b72a41b0
Added support for KiCad symbol libs without EOF comment.
2021-10-18 14:47:09 -03:00
Salvador E. Tropea
ab3bd7f0b3
Added a mechanism to import filters and variants.
...
- Also to restrict which outputs are imported.
- Fixes #88
2021-10-04 14:44:43 -03:00
Salvador E. Tropea
7c23381adb
Added distributors selection to KiCost+KiBot
2021-04-28 12:13:12 -03:00
Salvador E. Tropea
496de2712f
Give priority to submodule in out_kicost
2021-04-25 10:45:16 -03:00
Salvador E. Tropea
16ddb9465f
Added Internal BoM + KiCost integration
...
- Currently very basic, but you get "Costs" and "Costs (DNF)" work
sheets in the XLSX output when the xlsx.kicost option is enabled.
2021-04-15 11:14:37 -03:00
Salvador E. Tropea
2689ccbca2
Made the ibom output smarter about the netlist
...
- Now a warning is issued if needed and absent
- We now also pass it to iBoM if needed and is there
Fixes #68
2021-04-12 12:42:26 -03:00
Salvador E. Tropea
7c3f273684
Basic KiCost support.
2021-03-31 12:27:55 -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
01291ebe63
Added field rename filter.
...
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00
Salvador E. Tropea
40bd7c24f2
Added support for KiCost's subparts
2021-03-19 19:41:46 -03:00
Salvador E. Tropea
5560c62d14
Errors and warnings from KiAuto now are printed as is.
2021-02-24 12:58:47 -03:00
Salvador E. Tropea
e93bc6bf40
Fixed problems using layer suffixes containing non-ASCII chars
2021-02-11 11:29:21 -03:00
Salvador E. Tropea
3ed25cc5ff
Now you can import outputs from another config file.
2021-02-11 11:02:58 -03:00
Salvador E. Tropea
12bfa88677
Fixed the way we restore stderr after temporarily supressing it.
...
Now we don't mess with `sys.stderr` we just use `os.dup2` to restore it
from the copy.
2021-02-10 14:10:10 -03:00
Salvador E. Tropea
67cee9988a
Added workaroud for KiCad printing wxWidgets "traits" errors.
2021-02-10 09:40:41 -03:00
Salvador E. Tropea
ce0f22edce
Adjusted some details about the time-out control
...
- Warning when detected pointing to use the global options
- Now pcbnmew_do/eeschema_do output is captured
- Warning when using floating value for kiauto_wait_start (no fail)
- A simple test for time-out
Fixes #48
2021-02-08 12:07:54 -03:00
Salvador E. Tropea
f28b7a56b8
Changed the error about using external (unknown) names to a warning.
2021-01-29 11:23:46 -03:00
Salvador E. Tropea
409df8cca0
Fixed minimum KiCad version required is 5.1.6.
...
- KiCad 5.1.5 lacks GetBuildVersion()
- Fixes #45
2021-01-26 12:42:49 -03:00
Salvador E. Tropea
73cb98f113
Makefile generation.
2021-01-22 17:22:18 -03:00
Salvador E. Tropea
159e8996e8
Added support for ZIP/TAR/RAR generation.
2021-01-15 13:33:33 -03:00
Salvador E. Tropea
3d37e19b46
Skip missing layers with a warning.
...
When using "any layer" outputs.
This is needed now that we can specify generic names.
2021-01-13 16:53:24 -03:00
Salvador E. Tropea
4be9421f92
More details to make explicit the user must edit the example.
2021-01-06 12:25:07 -03:00
Salvador E. Tropea
c626f864f9
The step output now can download missing 3D models.
2020-12-30 15:22:00 -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
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
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
3977a55d4a
Fixed indentation
2020-10-19 13:36:49 -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
d2913f0bb4
Normalized the warning numbers to be 3 digits
2020-10-14 16:05:18 -03:00
Salvador E. Tropea
86ead74c27
Added KiBot warning filters.
...
- Closes #15
- This patch also changes the logging initialization, that was broken at
some recent point.
- Also adds tests to ensure the mechanism used to avoid repeated
warnings is working.
2020-10-12 16:31:47 -03:00
Salvador E. Tropea
c8e81a4668
Added numbers to all the warnings
2020-10-09 18:33:51 -03:00
Salvador E. Tropea
659ae27e7b
Fixed small flake8 details
2020-09-21 20:02:50 -03:00
Salvador E. Tropea
c59c31fb6e
Added support for KiCad v6 to the position output.
2020-09-21 19:17: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
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
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
7882cb0f4f
Moved internal filters to the base class.
...
So they can be used not only for internal BoM purposes.
2020-08-31 20:48:56 -03:00
Salvador E. Tropea
0bdce78004
Implemented the new variants mechanism in the internal BoM.
2020-08-28 16:49:20 -03:00
Salvador E. Tropea
90c0e14b73
Added support for PcbDraw v0.6.0.
2020-08-25 13:47:36 -03:00
SET
422641a295
More robust behavior when the Python cache interferes.
...
Files using macros can't be cached. Now if we find caches for them we
try to delete the caches (pypi installation for example). If we can't
remove the files a warning is generated.
If we fail to load a plug-in an error explaining it is generated.
Also added a test to reproduce it.
2020-08-18 21:44:09 -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