Commit Graph

2947 Commits

Author SHA1 Message Date
Salvador E. Tropea c723b51327 [CI/CD] Updating Github Action v2 for KiCad 5 latest 2023-04-02 08:19:36 -03:00
Salvador E. Tropea 3221a7fe00 [PCB Print][Fixed] Problems with images in the WKS (KiCad 5/6)
- Added regression test
2023-04-01 18:07:51 -03:00
Salvador E. Tropea 7849fc0bde [CLI] Fixed when the output dir for the log doesn't exist 2023-04-01 14:46:35 -03:00
Salvador E. Tropea bb592a8ec4 [CLI] Added option to log a file
- This is in addition to logging to stderr.
- This log is currently done with full debug information.
2023-04-01 14:07:31 -03:00
Salvador E. Tropea b2ffa5410a [CLI] Added option to display a banner
- I disabled `check-docstring-first`, no way to disable for a file
2023-04-01 11:36:50 -03:00
Salvador E. Tropea 5c0e3a09de [GHA] Added ASCII art banner 2023-04-01 09:43:37 -03:00
Salvador E. Tropea 1f7295ec28 [GHA] Removed PcbDraw version
- No longer an independent tool
2023-03-31 19:21:42 -03:00
Salvador E. Tropea a2ff0dde2d [Fixed][Distribution] Missing Blender scripts 2023-03-31 18:16:56 -03:00
Salvador E. Tropea 69c2890a10 [Tests] Added for the last grammar changes 2023-03-31 10:47:33 -03:00
Salvador E. Tropea 1cda0d5e70 [Grammar] Avoid warnings when giving R, L, C clue 2023-03-31 10:46:48 -03:00
Salvador E. Tropea 9393bd2f41 [Grammar] Better decimal point handling
- Now replaced only if in a middle of a number
2023-03-31 10:45:57 -03:00
Salvador E. Tropea 46739c8ea0 [Fixed] Units when using the grammar 2023-03-31 10:45:05 -03:00
Salvador E. Tropea 33c1e0a7e8 Added Lark as dependency 2023-03-31 09:08:46 -03:00
Salvador E. Tropea 9811972ace [PCB/SCH parity] Check for value and fields/properties 2023-03-31 08:45:09 -03:00
Salvador E. Tropea 2f8e416f06 [PCB/SCH Parity] Added support for bogus net codes
Fixes #410
2023-03-31 07:43:31 -03:00
Salvador E. Tropea 158f267eb5 Support for extra data in the Value field
- Currently we just use the tolerance for the 3D resistors
- Uses a port of the JavaScript Electro-Grammar
2023-03-30 12:39:36 -03:00
Salvador E. Tropea 4de3152ac9 [CI/CD] Added trigger for images with patched tools (pre) 2023-03-30 08:03:38 -03:00
Salvador E. Tropea 36a54af513 [CI/CD] Fixed refresh workflow 2023-03-29 13:05:47 -03:00
Salvador E. Tropea 91a52f9a47 [CI/CD] Added trigger to refresh docker images 2023-03-29 09:41:58 -03:00
Salvador E. Tropea 9f2564b80c [Diff][Fixed] Problems when using an output and no variant specified 2023-03-29 07:03:23 -03:00
Salvador E. Tropea 895d852ed2 [Cosmetic] unkown -> unknown 2023-03-28 11:22:19 -03:00
Salvador E. Tropea 921f5260c5 [Any Layer] Reverted the error on unknown
- An old option we keep for compatibility
2023-03-28 11:17:07 -03:00
Salvador E. Tropea 2c20255b71 [Tests] Update the multi-layer references
- Now they are better centered
- Note that KiCad 7 doesn't center as good as 6.
2023-03-28 10:50:12 -03:00
Salvador E. Tropea 1d91a3e80a [Cosmetic] Moved code to GS
- To concentrate KiCad nuisances there
2023-03-28 10:48:31 -03:00
Salvador E. Tropea 0f7c8f6cf9 [PCB Print][Fixed] Vias with different center
- The patch to make the centering more coherent when scaling had a
  side effect: vias could get a different center. Now we force the
  bounding box of the plot with them.
2023-03-28 10:46:18 -03:00
Salvador E. Tropea 9ea2f45983 [DOCs][Updated] With the new options 2023-03-28 08:39:34 -03:00
Salvador E. Tropea bb475ad75a [Any Layer] Enabled scaling for most plot outputs
- Only the gerber is excluded
- The new `individual_page_scaling` option is also available
- Now unknown options are treated as errors
2023-03-28 08:39:25 -03:00
Salvador E. Tropea eaa9569e71 [PCB Print] Added option to better control scale centering
- `individual_page_scaling`: to control if the center of the page is
  computed using all pages or individually.
2023-03-28 08:11:37 -03:00
Salvador E. Tropea ac81d18ea3 [PCB Print][Fixed] Interference with PRL and scaling
- The visible layers affected the position of the scaled image.
  This list is defined in the .kicad_prl file and the Python API
  loads it.

Fixes #407
2023-03-27 13:53:37 -03:00
Salvador E. Tropea 71ff354b9b [PcbDraw][Fix] Variable collision in last patch 2023-03-27 11:21:40 -03:00
Salvador E. Tropea 5f416063be [PcbDraw][Fixed] Support for 7.0.1 polygons
- Now KiCad generates polygons in the SVG
Fixes the problem reported in upstream: yaqwsx/PcbDraw#142
2023-03-27 10:53:33 -03:00
Salvador E. Tropea d9cca11384 [Dependency Downloader][Fixed] Problems with Ghostscript 10 release
- No Linux binaries are currently available
2023-03-27 09:20:03 -03:00
Salvador E. Tropea 762d96d0e8 [Download Datasheet] Better message warnings
- Unified
2023-03-27 08:51:55 -03:00
Salvador E. Tropea f7d52f3d09 [Datasheet dowload] Catch requests.exceptions.TooManyRedirects
Closes #408
2023-03-27 08:22:39 -03:00
Salvador E. Tropea 786c94a80c [3D] Added option to enable the colored R cache 2023-03-21 10:40:27 -03:00
Salvador E. Tropea 92b7206eff [Tests] Reduced the number of non-representable Rs in test case 2023-03-21 10:39:40 -03:00
Salvador E. Tropea f3645d3264 [3D] Added options to control the resistors tolerance
- `field_tolerance` field/s to look for resistor tolerance.
- `default_resistor_tolerance` which tolerance to use when none found.
2023-03-21 09:57:22 -03:00
Salvador E. Tropea c94b03042c [PcbDraw][KiCad 5] Disable tolerance look-up
- No properties in footprints
2023-03-21 06:53:09 -03:00
Salvador E. Tropea 05105cdc9a [3D] colored 3D models for THT resistors 2023-03-20 14:26:09 -03:00
Salvador E. Tropea e6ee30a004 [DOCs] Documented the PcbDraw changes 2023-03-20 14:19:53 -03:00
Salvador E. Tropea 0361c38d9d [PcbDraw] Various changes in resistor color bands
- Added support for values between 0.01 and 10 ohms
- Avoid crash for R<0.01 ohms
- Added support for 20% tolerance
- Added support for tol/tolerance property
- Fixed Decimal division by float
- Changed default tolerance to 20%. I know this isn't reality,
  but if we don't know the tolerance is better to just let it
  blank (20% is this).
2023-03-20 14:15:46 -03:00
Salvador E. Tropea 47d55f8ce9 [Experiments] Added mechanism to supress 20% fake color band 2023-03-20 14:14:00 -03:00
Salvador E. Tropea 3a69f16e60 [Tests] Added configs to test the 3D models for THT resistors 2023-03-20 14:13:07 -03:00
Salvador E. Tropea a57521b130 [Debian] 1.6.1-2 to accept KiCad nightly as KiCad replacement 2023-03-19 12:49:14 -03:00
Salvador E. Tropea 326ccf66be [Debian] Accept KiCad nightly instead of just KiCad 2023-03-19 12:40:15 -03:00
Salvador E. Tropea 2d39890482 [KiKit present][Fixed] Crash when no boards specified
Fixes #402
2023-03-18 19:04:59 -03:00
Salvador E. Tropea a9ca2f3f11 [Makefile][Fixed] don't skip all preflights on each run
- Just the ones we generate as targets.

Fixes #405
2023-03-18 18:41:15 -03:00
Salvador E. Tropea d617e290c5 [CI/CD] Added trigger for kicad_auto/_test clean 2023-03-17 10:58:17 -03:00
Salvador E. Tropea 3a5519c0e5 Bumped version to 1.6.2
- Just to make it different
2023-03-17 10:47:26 -03:00
Salvador E. Tropea 0da8744fcb [CI/CD] Added more `dev` tags 2023-03-17 10:45:50 -03:00