Salvador E. Tropea
e64b3864b4
Unified the "run_command" mechanism
...
- Now most code calls kiplot.run_command
2024-01-08 11:25:48 -03:00
Salvador E. Tropea
190dc0a389
Unified the exit point for errors running external commands
2024-01-05 12:52:46 -03:00
Salvador E. Tropea
d7392d59ec
[Fixed] Spell errors
2024-01-05 09:09:58 -03:00
Salvador E. Tropea
7ec3a1379c
Unified some errors details
...
- Non-critical errors will stop when using -W
- More stack traces on error
- More centralized exit
2024-01-04 13:58:13 -03:00
Salvador E. Tropea
67ae12bf1d
Made shlex.join use optional
...
Introduced in Python 3.8
2023-08-08 11:19:47 -03:00
Salvador E. Tropea
0fa7b92039
[Quick-Start] No longer use dedicated templates
...
- Now we use the internal templates
- This is because now they can be configured
2023-06-14 13:24:08 -03:00
Salvador E. Tropea
e16086ca70
[Blender Export] Now can be used as renderer
...
- Tested with kikit_present and populate
- Also added `auto_crop`
2023-01-26 18:13:38 -03:00
Salvador E. Tropea
e6059c6508
[DOCs] Added warning about PcbDraw and complex PCBs
2023-01-16 20:37:37 -03:00
Salvador E. Tropea
42f5dcd8d6
[SVG][Added] Options to limit the view box to the used area.
2023-01-05 19:29:31 -03:00
Salvador E. Tropea
1dbe58aab1
Moved sub-PCB specific stuff to var_base (from out_base)
...
- To allow more than one mechanism
- Also changed the order in which sub-PCBs are applied, will make
things faster
- Also removed board as parameter for un/filter_pcb*
Isn't really supported and the sub-PCBs clearly breaks it
2022-12-27 08:48:44 -03:00
Salvador E. Tropea
2cea9925d5
[Panelize] Added preview option
...
- Enabled for quick start
2022-12-03 18:38:28 -03:00
Salvador E. Tropea
39991b72bc
[PcbDraw][Fixed] Adapted to the solev_filters change
2022-11-01 13:42:01 -03:00
Salvador E. Tropea
0ee280b6d9
[Render_3D] Added filter support for show_components and highlight
...
- Just like in PcbDraw output
2022-11-01 12:53:09 -03:00
Salvador E. Tropea
58e3e9e847
[PcbDraw][Populate] Added filter expansion
...
- in `show_components` and `highlight`
2022-10-29 16:12:44 -03:00
Salvador E. Tropea
1df9d1da46
[PcbDraw][PCB_Print] Removed all PcbDraw convert.py usage
...
- Currently not needed
2022-10-28 13:41:33 -03:00
Salvador E. Tropea
700bf5bff3
[PcbDraw][Print_PCB] Fixed issues when LXML isn't installed
...
- Moved PcbDraw import after the tool check
2022-10-28 13:03:30 -03:00
Salvador E. Tropea
e56343d214
New populate output
...
- The PcbDraw command
2022-10-27 21:24:57 -03:00
Salvador E. Tropea
b8f9b2e924
[PcbDraw] Applied the SVG patch like the upstream
...
- To make the code more convergent, is equivalent
2022-10-24 13:02:37 -03:00
Salvador E. Tropea
417dbadcd2
[PcbDraw][PCB_Print][Fixed] SVG issues for browsers
...
- Same fix used for SVG output
2022-10-21 13:42:29 -03:00
Salvador E. Tropea
8ec4d481c0
[Package] Moved all resources to a central place
...
- All KiBot resources are now under kibot/resources
- PcbDraw resources are now in kibot/resources/pcbdraw
- All resources can be loaded relative to the script or from
/usr/share/kibot
- The Debian package installs the resources in /usr/share/kibot
- The Python manifest includes all resources
- PcbDraw is now detected as a Python package
2022-10-19 13:05:56 -03:00
Salvador E. Tropea
c79e5b0b0f
[PcbDraw] Better support for variants
...
- All variant stuff is applied
- A new mode allows to get a more coherent behavior for the show_components
2022-10-19 10:19:00 -03:00
Salvador E. Tropea
0d3661ccca
[PcbDraw] Removed _create_style
...
- No longer needed
2022-10-19 09:01:30 -03:00
Salvador E. Tropea
aff00b44b6
[PcbDraw] Skipped the VCUTs layer check when the option is disabled
2022-10-19 08:59:54 -03:00
Salvador E. Tropea
0be6f40053
[PcbDraw] Individual margin control
2022-10-19 08:32:46 -03:00
Salvador E. Tropea
4b0965fc4d
[PcbDraw] Added option to control the size detection
...
- Now we can use the full method found in newer versions
- But we can also use simpler methods that are usable and needs
less dependencies (also they are faster)
2022-10-19 08:05:06 -03:00
Salvador E. Tropea
97dd675a6d
[PcbDraw] A `remap_components` option with better type checks
...
- The old option was simpler, but you could put anything there
2022-10-18 13:37:37 -03:00
Salvador E. Tropea
087b1aabe3
[PcbDraw] Added resistor remap and flip options
2022-10-18 13:16:43 -03:00
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