Salvador E. Tropea
b0a395e68a
[DOCs] Updated with the new populate output
2022-10-28 07:52:33 -03:00
Salvador E. Tropea
ddd0018f43
[Populate] Handle missing mistune properly
2022-10-28 07:51:54 -03:00
Salvador E. Tropea
8512b41feb
[Populate] Added pybars and pymeta
2022-10-28 07:16:05 -03:00
Salvador E. Tropea
f3049351da
[Populate] Documented the changes
...
- Also added author and license to the files
2022-10-28 06:30:17 -03:00
Salvador E. Tropea
e56343d214
New populate output
...
- The PcbDraw command
2022-10-27 21:24:57 -03:00
Salvador E. Tropea
8d3696796b
[Test] Adapted to the new downloader API
2022-10-24 13:19:04 -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
491c598afb
[iBoM] Added support for the `offset_back_rotation` option
2022-10-24 12:58:36 -03:00
Salvador E. Tropea
f54e791bb7
[CI/CD][Fixed] dev images creation
...
- The docker files were using master instead of dev branch
2022-10-21 14:15:25 -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
623ce5c65e
[SVG][Fixed] Problems using Chrome and Firefox
...
- The KiCad 6 default scale is too big
2022-10-21 11:51:08 -03:00
Salvador E. Tropea
bedac3f5ec
[Tests] Moved the stdout/err limit to 10 MB
2022-10-19 14:08:05 -03:00
Salvador E. Tropea
b25e4c2d65
[Tests] Removed stdout/stderr read limit
2022-10-19 14:01:54 -03:00
Salvador E. Tropea
446f87aad1
[Debug] Added command line information
...
- For level 2 or more
2022-10-19 13:14:53 -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
5fe00f2598
Bumped version to 1.4.1
...
- Just to identify it as different
2022-10-19 10:44:02 -03:00
Salvador E. Tropea
94bf782958
[Makefile] Added some pushes to the GHA update
2022-10-19 10:38:51 -03:00
Salvador E. Tropea
9e01540613
Merge branch 'embed_pcbdraw' into dev
...
- PcbDraw is now integrated
- We must solve the paths mess
2022-10-19 10:37:26 -03:00
Salvador E. Tropea
122239e687
[DOCs] Marked as development anything other `master`
2022-10-19 10:32:15 -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
ad2b4e48d1
[Fixed] The hide_stderr function when exception
...
- Needed a finally
2022-10-18 12:34:51 -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
473d1c27e2
[PcbDraw] Updated the components libs
...
- Added 0402 components
2022-10-18 08:58:48 -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
7707ec3ef6
[PcbDraw] Fixed `collect_holes` for KiCad 5
...
- pad.GetDrillSizeX() and pad.GetDrillSizeY() are KiCad 6 specific,
you must use pad.GetDrillSize()
- KiCad 5 vias were skipped
- Vias detection crashed on KiCad 5
2022-10-18 08:22:09 -03:00
Salvador E. Tropea
c16fb7144e
[PCB_Print] Replaced external PcbDraw
...
- Using the internal module
2022-10-18 07:53:12 -03:00
Salvador E. Tropea
531ace00a1
[PcbDraw] Added mechanism to only plot the solder mask
2022-10-18 07:37:16 -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
8b780736db
[CI/CD] Updating Github Action v2 for KiCad 6 latest
2022-10-17 07:10:25 -03:00
Salvador E. Tropea
c56a64d90f
[CI/CD] Updating Github Action v2 for KiCad 6 development
2022-10-17 07:10:23 -03:00
Salvador E. Tropea
b0bfb45b62
[CI/CD] Updating Github Action v2 for KiCad 5 development
2022-10-17 07:10:21 -03:00
Salvador E. Tropea
7c3a557ca6
[CI/CD] Updating Github Action v2 for KiCad 5 latest
2022-10-17 07:10:19 -03:00
Salvador E. Tropea
ccaf196b80
[GitHub Action] Fixed `additional_args` issue
...
Related to #320
2022-10-17 07:08:44 -03:00