Salvador E. Tropea
f46f9557fd
[PcbDraw] Avoid creating a temporal file for the style
...
- This is exactly the same structure needed by PcbDraw
2022-10-18 12:55:19 -03:00
Salvador E. Tropea
5887b29bf2
[PcbDraw] Added support to set the V-CUTS layer
2022-10-18 12:49:28 -03:00
Salvador E. Tropea
f78f8b3064
[PcbDraw] Added solder paste removal
2022-10-18 11:38:29 -03:00
Salvador E. Tropea
268e1ef2f7
[PcbDraw] Added support for the outline width
2022-10-18 11:34:12 -03:00
Salvador E. Tropea
00cea42cda
[PcbDraw] Added support for image margin
2022-10-18 11:27:11 -03:00
Salvador E. Tropea
801f7f5183
[PcbDraw] Avoid loading the PCB for each call to PcbDraw
2022-10-18 11:08:57 -03:00
Salvador E. Tropea
701824e4e4
Removed spurious KiCad messages during KiCad 5 PCB loads
...
- Seen on KiCad 6
2022-10-18 10:59:36 -03:00
Salvador E. Tropea
207dd8f67c
[PcbDraw] Removed PIL as dependency
...
- So now the save function only supports SVG as input and SVG/PNG as
output. All other cases are handled from outside
- This is because KiBot heavily uses ImageMagick and migrating to PIL
is not something simple.
- There is no point in using PIL just for file conversion, as we don't
use `render` this is the only use.
2022-10-18 10:49:13 -03:00
Salvador E. Tropea
f61ca58ffa
[PcbDraw][Fixed] Removed temporal style file
2022-10-18 10:11:53 -03:00
Salvador E. Tropea
bb6b0c6141
[PcbDraw] Replaced `unit` code
...
- So we have only one units conversion
- I think the only difference is that KiBot code currently supports
the locales decimal point
2022-10-18 09:57:56 -03:00
Salvador E. Tropea
749618782b
[PcbDraw] Removed numpy as dependency
...
- Currently svgpathtool is disabled, it really needs numpy
- `numpy` is used to:
- Multiply matrices (1 line code)
- Find the index of the smaller element (1 line code)
- I added a replacemt for the `array` function, it just makes all
matrix elements float
2022-10-18 08:56:29 -03:00
Salvador E. Tropea
a6f4173226
[PcbDraw] Included pcbnreTransition
...
- Just 2.8 kiB no worth the effort of pulling a dependency
- In fact it could be reduced to less than 10 lines, but I keep it
almost unchanged (just added author and license) to make it easy
to updated.
2022-10-18 08:51:25 -03:00
Salvador E. Tropea
bca04a3222
[PcbDraw][Fixed] Avoid looking for PcbDraw as dependency
...
- No longer a dependency
2022-10-18 07:09:02 -03:00
Salvador E. Tropea
838129e69c
[PcbDraw] Embedded the PcbDraw.plot code
...
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea
b24f3b4e3b
[PcbDraw] Added extension to temporal files
...
- More clear
- PcbDraw 1.0.0 doesn't support files without extension
Is this a Windows legacy?!
2022-09-29 10:45:37 -03:00
Salvador E. Tropea
560ce80c7d
[Debug] Logged executed command in a cut & paste friendly way
...
Closes #269
2022-09-02 08:49:39 -03:00
Salvador E. Tropea
0a8481dadf
Now the dependencies are YAML specs in docstrings
...
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea
6a1372c574
Added support for dependency download to pcbdraw
2022-06-28 13:19:06 -03:00
Salvador E. Tropea
65d4143ec1
Now we try to download some tools when missing
...
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -03:00
Salvador E. Tropea
54dd130e4f
Highlighted the most relevant options
2022-06-08 08:37:30 -03:00
Salvador E. Tropea
684b996ced
Added `navigate_results` output
...
- It generates web pages to navigate all generated outputs by category
2022-05-27 13:38:32 -03:00
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
156c98b3b2
Modified minimal PcbDraw version
...
- Ask for one that supports KiCad 6
2022-05-06 13:02:05 -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
1d1abf0ce4
Fixed flake8 detail
2022-01-17 18:09:41 -03:00
Salvador E. Tropea
46d5d9ad65
Added support for different top/bottom PCB colors
...
- Solder mask
- Silk screen
2022-01-17 16:02:09 -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
9417b61478
Moved all loggers to the same domain.
...
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Salvador E. Tropea
27b26feb88
Added 3D view render
...
Related to #99
2021-11-17 17:40:54 -03:00
Salvador E. Tropea
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea
d1ef2c8cbf
Added style dependency in pcbdraw makefile target.
...
- Also now we make sure the style is an existent file.
2021-02-03 12:41:30 -03:00
Salvador E. Tropea
73cb98f113
Makefile generation.
2021-01-22 17:22:18 -03:00
Salvador E. Tropea
88cd5927dc
Now you can ask to compress the targets of an output (by out put name)
2021-01-18 16:12:30 -03:00
Salvador E. Tropea
b347a6ca30
The board object is no longer passed to run methodes.
...
The global GS.board is used instead.
2021-01-15 14:14:17 -03:00
Salvador E. Tropea
ceb6bbe52a
Unified the capitalization after colons.
2021-01-12 15:39:05 -03:00
Salvador E. Tropea
c8e81a4668
Added numbers to all the warnings
2020-10-09 18:33:51 -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
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
7c11370afd
Added tests for missing convert and/or rsvg-convert
2020-08-27 19:18:08 -03:00
Salvador E. Tropea
90c0e14b73
Added support for PcbDraw v0.6.0.
2020-08-25 13:47:36 -03:00
Salvador E. Tropea
ee69de6e7d
Problems with PcbDraw when generating PNG and JPG.
...
Currently the script uses ImageMagick library. But the SVG conversion
is handled unreliably. ImageMagick has various backends to do it and
some of them don't work. I saw this problem many times, and is now
affecting my system. A more reliable conversion can be achieved using
`rsvg-convert`. Isn't as good as InkScape, but is smaller and works
well.
In the process I'm trimming the extra blank space generated by
PcbDraw when we have objects in layers like "User Drawings" that
extends beyond the PCB size.
I'm also compressing JPGs more aggressively, this makes a real
difference between PNG and JPG outputs. Otherwise the difference
is too small.
2020-08-25 13:16:49 -03:00
SET
93c824b083
Modified mcpy to better report the line numbers.
...
Seems to work for Python 3.8, but I have doubts for 3.7.
2020-08-19 19:31:46 -03:00
SET
28947ed70d
Added support for relative imports to mcpy
2020-08-19 12:29:38 -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