Commit Graph

2193 Commits

Author SHA1 Message Date
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 1fdd3c26d1 [Fixed][QR lib update] Problems on KiCad 5
- Related to moving the footprint to the bottom
2022-10-14 11:08:42 -03:00
Salvador E. Tropea e733ba54c4 Adapted reference files to KiCad 6.0.8 2022-10-14 10:42:09 -03:00
Salvador E. Tropea 80b034120e [Tests] Adapted KiDiff rereference for KiCad 5 2022-10-14 10:33:28 -03:00
Salvador E. Tropea 25d9806b47 [Diff] Added option to compare only the first schematic page.
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea a2d944e85a [Tests] Trying more conservative exit on error option 2022-10-14 07:42:24 -03:00
Salvador E. Tropea f81493ba24 [CI/CD] Run regression tests when the g*.sh scripts are changed 2022-10-14 07:33:48 -03:00
Salvador E. Tropea 75430cf849 [Tests] Added stop on errors to g2.sh
- It was silently failing
2022-10-14 07:30:15 -03:00
Salvador E. Tropea d5c49343dd [DOCs] Updated the generated doc 2022-10-14 06:49:36 -03:00
Salvador E. Tropea 729d2bf7e7 [DOCs] Documented the new GHA `additional_args` option.
- Also documented `install3D` option
2022-10-14 06:48:11 -03:00
Salvador E. Tropea 7f6e79efac [CI/CD] Updating Github Action v2 for KiCad 6 latest 2022-10-14 06:39:58 -03:00
Salvador E. Tropea 29ef820adc [CI/CD] Updating Github Action v2 for KiCad 6 development 2022-10-14 06:39:57 -03:00
Salvador E. Tropea 87be4ea19f [CI/CD] Updating Github Action v2 for KiCad 5 development 2022-10-14 06:39:55 -03:00
Salvador E. Tropea 521de0b3a3 [CI/CD] Updating Github Action v2 for KiCad 5 latest 2022-10-14 06:39:53 -03:00
Salvador E. Tropea 090c594309 [GitHub Action] Added a mechanism to pass extra arguments
- Currently experimental
Closes #320
2022-10-14 06:35:45 -03:00
Salvador E. Tropea 13dbd72f5c [DOCs] Marked the README as development version 2022-10-12 13:17:31 -03:00
Salvador E. Tropea 9c62b22a26 [DOCs] Added a mechanism to differentiate dev and master README 2022-10-12 13:16:56 -03:00
Salvador E. Tropea a0c125cc1b [DOCs] Documented the new GitHub action tags 2022-10-12 11:43:55 -03:00
Salvador E. Tropea 91e3a93057 [GitHub Action] Normal KiCad 6 again 2022-10-12 11:41:55 -03:00
Salvador E. Tropea 2765397c9d [GitHub Action] Created v1.3.0 for KiCad entry (KiCad 5) 2022-10-12 11:40:08 -03:00
Salvador E. Tropea db340021ba [GitHub Action] Created v1.3.0 for KiCad entry 2022-10-12 11:37:17 -03:00
Salvador E. Tropea 619a7da745 Bumped version to 1.4.0 2022-10-12 10:21:49 -03:00
Salvador E. Tropea 72cae7c787 Changes to write v6 schematics more similar to prior versions 2022-10-11 13:09:49 -03:00
Salvador E. Tropea a337028007 [Internal BoM] Added some basic support for "Exclude from BoM" flag
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea d28ecfd8c4 [Schematic v6][Fixed] Autoplace fields could be lost in variants. 2022-10-11 10:06:00 -03:00
Salvador E. Tropea 7400b2f990 Updated the CHANGELOG (new position feature) 2022-10-06 13:55:09 -03:00
Salvador E. Tropea 7dbd5b1dff
Merge pull request #314 from Kev-J/out-position-decimal
[Position] Add "right_digits" option
2022-10-06 13:48:24 -03:00
Salvador E. Tropea b6c1c6aed8 [DOCs] Applied typo fix to README.in 2022-10-06 13:04:38 -03:00
Salvador E. Tropea a4477d4d7c
Merge pull request #315 from Kev-J/fix-typo-creating
[Fix] Typo in README.md
2022-10-06 13:03:41 -03:00
Kevin Joly b78165d669 [Fix] Typo in README.md
Signed-off-by: Kevin Joly <kevin.joly@armadeus.com>
2022-10-06 16:04:15 +02:00
Kevin Joly bab8b97a76 [Position] Add "right_digits" option
KiCAD's generated position files have 6 digit mantissa. Some users would like to have the position file(s) generated in the same way than KiCAD. This option makes that possible while keeping the default behaviour of using 4 digits mantissa.

Signed-off-by: Kevin Joly <kevin.joly@armadeus.com>
2022-10-06 15:39:34 +02:00
Salvador E. Tropea 1106708a6d [Fixed][Position] Wrong side classification
- When the side column wasn't the last column

Closes #313
2022-10-06 08:59:15 -03:00
Salvador E. Tropea 86a9c25949 [Diff] Added option to skip pages with no diffs 2022-10-05 11:30:00 -03:00
Salvador E. Tropea fcc7575f99 [Makefile] Added experimental target for manjaro tests 2022-10-05 11:28:32 -03:00
Salvador E. Tropea 5592f5a2d5 [Dependencies] Added max_version
- Needed for incompatible PcbDraw 1.x until this is solved.
2022-10-04 09:06:07 -03:00
Salvador E. Tropea 33566c719d [Install Checker] Added Helvetica font detection
- Seems to be a problem on Arch Linux and derivatives
2022-10-04 08:40:28 -03:00