Salvador E. Tropea
d9b3da1e0d
[SCH print][Added] Support for title change
2023-04-02 09:59:09 -03:00
Salvador E. Tropea
1a1311dc6d
[General][Added] Support for time stamp in the date
...
- i.e. 2023-04-02T09:22-03:00
2023-04-02 09:54:30 -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
a2ff0dde2d
[Fixed][Distribution] Missing Blender scripts
2023-03-31 18:16:56 -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
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
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
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
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
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
3a5519c0e5
Bumped version to 1.6.2
...
- Just to make it different
2023-03-17 10:47:26 -03:00
Salvador E. Tropea
d88830948f
[DOCs] Blender export needs KiCad 6 or newer
...
- Also checks in the code
2023-03-16 09:26:54 -03:00
Salvador E. Tropea
2ebaea16ab
Added errors and warnings about KiCad 7 bugs
2023-03-16 07:19:59 -03:00
Salvador E. Tropea
31cf802b89
[KiCad 7] Added global option to use KiCad to cross components
2023-03-09 09:34:25 -03:00
Salvador E. Tropea
6801dfc7e2
[KiCad 7] Added some support for DNP flag
...
- Copied to internal `fitted`
- Can remove 3D models even when no filter/variant is applied
2023-03-08 13:13:37 -03:00
Salvador E. Tropea
3e283c9906
Avoid courtyard warnings
...
- When the user explicitly said the component doesn't have it
New on KiCad v7
2023-03-08 10:21:41 -03:00
Salvador E. Tropea
367a00334d
[Dependency checker] Bumped KiKit version to 1.3.0.4
...
- Upstream 1.3.0 is severely broken
2023-03-06 13:47:38 -03:00
Salvador E. Tropea
e27753a8d6
[Tests] Added KiKit tests
...
- stencil 3D, steel stencil and panel
- Bumped dependency to 1.3.0, needed for KiCad v7
A patched version is needed ...
2023-03-03 10:53:23 -03:00
Salvador E. Tropea
d656b338b2
Abort when a .sch and .kicad_sch of the same name are detected
...
Closes #397
2023-03-02 11:11:43 -03:00
Salvador E. Tropea
957c398500
[DOCs] Made clear we support .sch and .kicad_sch
2023-03-02 11:11:02 -03:00
Salvador E. Tropea
f946d75fdb
[PcbDraw] Updated to match v1.1.2 (libs)
2023-03-01 09:10:45 -03:00
Salvador E. Tropea
818b431cac
Fixed worksheet import
...
- Moved functions to sexp_helpers
2023-02-28 14:13:53 -03:00
Salvador E. Tropea
70d716e561
[3D Models] Added support for models relative to libs
...
- New on KiCad v7, but will work for olders
2023-02-28 14:00:55 -03:00
Salvador E. Tropea
6c46b240cf
[Config] Fixes get_fp/sym_lib_aliases usage for fname=None
2023-02-28 13:58:43 -03:00
Salvador E. Tropea
12227608c4
Added missing files
2023-02-28 13:57:57 -03:00
Salvador E. Tropea
74a27b3036
[Config] More robust sym-lib-table parser
...
- Now loads on-the-fly (not needed for KiCad v6+)
- Uses s-expressions parser, no regex
- Can recreate the global table for KiCad v6+
2023-02-28 13:33:41 -03:00
Salvador E. Tropea
4da38de4a8
[ERC][KiCad 7] Added option to specify the grid size
...
- `erc_grid` to specify the grid size for KiCad 7 ERC tests
See https://gitlab.com/kicad/code/kicad/-/issues/14110
2023-02-28 06:17:20 -03:00
Salvador E. Tropea
b16bb533ea
[PCB Print] Simplified the mechanism to hide zones
...
- Just UnFill() them
2023-02-27 10:46:52 -03:00
Salvador E. Tropea
6693d29309
Merge branch 'dev' of https://github.com/INTI-CMNB/KiBot into dev
2023-02-27 10:31:02 -03:00
Salvador E. Tropea
6fd97254ad
[PCB Print][Fixed] KiCad crashing on some complex filled zones
...
- We must rebuild the conectivity data after a zone fill
Fixes #396
2023-02-27 10:30:11 -03:00
Salvador E. Tropea
774cb7a673
[Windows] Use os.pathsep instead of ':'
...
- Good idea by MDW mentioned in #392
2023-02-25 14:50:24 -03:00
Salvador E. Tropea
94264726d7
[DRC] Ensure KiCad 7 vars are defined before DRC
2023-02-24 18:46:43 -03:00
Salvador E. Tropea
3707db83a9
[KiCad 7] Allow using KICAD6_ and KICAD7_
2023-02-24 14:01:12 -03:00
Salvador E. Tropea
659e23ae32
[Report] Added warnings and counters for buried and micro vias
...
- Also added a mechanism to disable them for KiCad 7 which no longer
provides this option.
2023-02-23 08:40:40 -03:00
Salvador E. Tropea
453d3482fe
[DOCs] Added more clarification to the print outputs
...
- Marked PDF/SVG PCB Print as deprecated. They work even worst on
KiCad 7 and the problems are OS dependent.
- Made clear that "SVG Schematic Print" is a "Plot"
- Updated dependencies
2023-02-22 13:40:24 -03:00
Salvador E. Tropea
fe26f1ab6a
Problems to detect the SCH under very particular constraints
...
Fixes #394
2023-02-22 13:04:45 -03:00
Salvador E. Tropea
3ddca189f2
[Schematic][KiCad 7][Added] Support for do_not_autoplace and show_name
...
- New field (properties) options
2023-02-17 11:19:06 -03:00
Salvador E. Tropea
37e5e5fe95
[Report] Adapted to the new color names
...
- Much longer because they are the dielectric name
2023-02-17 10:50:47 -03:00
Salvador E. Tropea
12dbd16983
[Schematic][KiCad 7][Added] Support for arc, circle, rectangle and text_box
2023-02-17 10:15:53 -03:00
Salvador E. Tropea
d15a97f02e
[Any Layer][KiCad 7] Added support for Edge.Cuts inclusion
...
- Should be available in KiCad 7.0.1
- Was bug 13841, now closed
2023-02-16 09:19:33 -03:00
Salvador E. Tropea
28ef08c00a
[Update XML][KiCad 7] Enabled the board parity check
...
- Needs a patched KiCad, waiting for patch aproval (Bug 13921)
2023-02-16 09:16:52 -03:00
Salvador E. Tropea
4a440078ae
Moved all IU -> SVG stuff to GS
2023-02-15 10:07:49 -03:00
Salvador E. Tropea
ca3f76f3b8
[SVG][KiCad 7] Fixed viewbox adjust
...
- Must be float values as they are mm now
2023-02-15 06:58:04 -03:00
Salvador E. Tropea
629c42d4b1
[PCB2Blender Tools][KiCad 7] Adapted to KiCad v7 API
2023-02-14 14:11:41 -03:00
Salvador E. Tropea
6b5782c3ab
[SVG][KiCad 7] Adapted to v7 API
2023-02-14 14:11:04 -03:00
Salvador E. Tropea
aa9826fe88
[PCB Print][KiCad 7] Adapted to the new ZONE.GetFirstLayer()
2023-02-14 13:17:09 -03:00
Salvador E. Tropea
68e6e5f825
[Worksheet][KiCad 7] Adapted image scale (to mm)
2023-02-14 12:45:36 -03:00
Salvador E. Tropea
c0408077fc
[PCB Print][KiCad 7] Fixed the solder mask position
...
- Now SVG scale is mm
2023-02-14 12:30:37 -03:00
Salvador E. Tropea
55086c5def
[Worksheet] Adapted polypoints to v7 arguments
2023-02-14 12:29:38 -03:00
Salvador E. Tropea
f84b49bd2a
[Preflight][KiCad 7] Updated preflight references and tests
...
- Disabled PCB parity, API broken
2023-02-14 12:28:07 -03:00
Salvador E. Tropea
28390c9f6f
[PCBDraw] Fixed KiCad 5 problems
...
- pcbnewTransition 0.3.2 wasn't fully coimpatible with v5
2023-02-14 08:17:29 -03:00
Salvador E. Tropea
b41991edde
[PCBDraw] Added missing pcbnewTransition file
2023-02-14 07:35:32 -03:00
Salvador E. Tropea
1823d3d3ce
[PCB_Print] Added tolerance for small errors in page size
...
- PCBDraw seems to be creating pages with 297.022 mm instead of 297 mm
2023-02-14 07:33:55 -03:00
Salvador E. Tropea
c65037be0b
[PCBDraw][KiCad v7] Applied upstream patches
2023-02-14 07:06:49 -03:00
Salvador E. Tropea
2dc3207201
[KiCad 7] Added support for the new VECTOR_FP_3DMODEL
2023-02-13 13:45:19 -03:00
Salvador E. Tropea
510909c96b
[Diff] Added KiCad 7 support
...
- I'm not satisfied with the current results
2023-02-13 13:11:17 -03:00
Salvador E. Tropea
e2cb506094
[Worksheet][KiCad 7] Adapted for the new VECTOR2I
2023-02-13 11:19:42 -03:00
Salvador E. Tropea
aeeba4f006
[Report][KiCad 7] Blind/Micro vias doesn't seem to be available
2023-02-13 11:17:17 -03:00
Salvador E. Tropea
f3a003dc04
[Worksheet] Adapted to the new justify constants
2023-02-13 10:38:19 -03:00
Salvador E. Tropea
86573a9e64
[KiCad 7] Added SetExcludeEdgeLayer and SetSvgPrecision to GS
...
- To solve API differences
2023-02-13 10:37:15 -03:00
Salvador E. Tropea
f0f889ec43
[QR Lib] Added support to detect KiCad 7 subsheets
...
- Stupid name change
2023-02-13 10:32:48 -03:00
Salvador E. Tropea
9fd92c7361
Removed extra debug log
2023-02-13 09:51:12 -03:00
Salvador E. Tropea
2d9f7b702f
[Any Layer] Added support for reading edge on all layers in KiCad 7
2023-02-13 08:31:16 -03:00
Salvador E. Tropea
2f903633e6
Added support to cross components on KiCad 7 PCBs
...
- Not the most elegant solution, but the less impact
2023-02-10 13:24:23 -03:00
Salvador E. Tropea
6bb9a0796e
[Any Layer][Fixed] KiCad 7 doesn't have SetExcludeEdgeLayer
...
- The alternative doesn't work
2023-02-10 12:54:32 -03:00
Salvador E. Tropea
b97c180d15
[Fixed] Symbol instances in sub-sheets
2023-02-10 10:15:33 -03:00
Salvador E. Tropea
8ff1cba906
[Drill] Support for KiCad v7
...
- Point -> Vector
- Rect -> Box
2023-02-10 10:11:44 -03:00
Salvador E. Tropea
1c8042dd1e
[Fixed] KiCad units must be integers
2023-02-10 10:10:53 -03:00
Salvador E. Tropea
a8a2175d73
Fixed missing pcbnew detection
2023-02-10 09:56:26 -03:00
Salvador E. Tropea
3d408d70cf
[Report] Fixed new conversion to inches
2023-02-10 09:39:32 -03:00
Salvador E. Tropea
0b748e1d9d
[Added] Basic support reading and writing v7 schematics
2023-02-10 09:12:59 -03:00
Salvador E. Tropea
e92da81882
[KiCad 7] Added KICAD7_* variables expansion
2023-02-09 09:29:06 -03:00
Salvador E. Tropea
7d597b3629
[KiCad 7] Added support for the version in sym-lib-table
2023-02-09 09:23:33 -03:00
Salvador E. Tropea
b7897baf87
Added KiConfError error handling during output generation
2023-02-09 09:12:21 -03:00
Salvador E. Tropea
23175f8500
[KiCad 7] Solved drill marks constants rename
2023-02-09 09:02:37 -03:00