7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-23 00:23:32 +00:00
Commit Graph

43477 Commits

Author SHA1 Message Date
jean-pierre charras
eb5530eadf Demos update. 2024-07-12 08:52:19 +02:00
Mark Roszko
fb0d927022 Move vcpkg baseline forwards 2024-07-11 23:37:44 +00:00
CraftedNightmare
ee78f3bf5b Changed ERC Label caps check to check Power Symbols
Power symbols are implicit labels in KiCad, so we should check for their
caps difference against other power symbols as well as against other
labels

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16897
2024-07-11 18:45:35 +00:00
Seth Hillbrand
ffe496abf3 Cleanup for Project Backup
Do conservative check for time offset before making the expensive
backup.  Don't clear and re-check the file list for a single file change
2024-07-11 10:48:13 -07:00
Harry Best
cc5fb60d93 CHANGED: Backup project only when different
Makes a test backup file and compares to the existing zip file backup to
see if the files have changed since it was made.  If so, the new file is
kept.  If not, we discard the new file and continue

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12453
2024-07-11 10:48:13 -07:00
Alexander Rauth
9177e62718 correct polygon area calculation
When calculating a part of the polygon area and thus ending the polygon
at the specified vertex aEnd we  need to calculate and add the area below
the needed additional line from "aEnd" to "this" to close the resulting
partial polygon. As in this case VERTEX* p references "aEnd" after exiting
the do-while loop the correction  term in the if-statement was always
evaluated to zero. Change "aEnd" to "this" in the correction term.
2024-07-11 10:09:54 -07:00
Seth Hillbrand
cb0c4a830c Update translations 2024-07-11 09:41:44 -07:00
dsa-t
1835053767
Translated using Weblate (Russian)
Currently translated at 100.0% (9495 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-07-11 18:40:38 +02:00
CloverGit
29efaed765
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (9494 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-07-11 18:40:38 +02:00
alevtina-karashokova
0ff5f5ef86
Translated using Weblate (Russian)
Currently translated at 100.0% (9495 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-07-11 18:40:38 +02:00
Toni Laiho
92a0febdd9
Translated using Weblate (Finnish)
Currently translated at 99.5% (9457 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2024-07-11 18:40:38 +02:00
Pferd O
b75fede769
Translated using Weblate (German)
Currently translated at 98.4% (9350 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-07-11 18:40:38 +02:00
alevtina-karashokova
1aa03b7ba2
Translated using Weblate (Russian)
Currently translated at 99.6% (9461 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-07-11 18:40:38 +02:00
alevtina-karashokova
103df08b05
Translated using Weblate (Russian)
Currently translated at 99.6% (9461 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-07-11 18:40:38 +02:00
dsa-t
1cd49273b5
Translated using Weblate (Russian)
Currently translated at 99.6% (9461 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-07-11 18:40:38 +02:00
aris-kimi
07267aaa64
Translated using Weblate (Greek)
Currently translated at 96.3% (9152 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2024-07-11 18:40:38 +02:00
Pferd O
35a6390d99
Translated using Weblate (German)
Currently translated at 98.4% (9350 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-07-11 18:40:38 +02:00
Seth Hillbrand
a99bf7a9b4
Translated using Weblate (German)
Currently translated at 98.4% (9350 of 9495 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-07-11 18:40:38 +02:00
Seth Hillbrand
77b1d367df Fixup copper connection wires
Use better check for ears, avoiding fracture points.
Be careful when insterting spikes to avoid changing indices for future
polys
2024-07-10 21:48:37 -07:00
Seth Hillbrand
845130ba9e ADDED: pcbnew fill avoids kissing fills
Previously, fills could end up just barely touching, leading to DRC
errors even if there was enough room to fill the remaining space.  This
was due to how we shrink/expand the zones to remove small features.  By
adding a zero-width line between points that should be connected, we
expand back to the correct width.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14130
2024-07-10 18:34:41 -07:00
Seth Hillbrand
17b0dabec3 Remove the now unused curve-point count
With the refactor of the bezier lib, we no longer base the curve on the
number of points but rather on the error allowed.  The parameter was
vestigal and had no effect on output
2024-07-10 11:19:09 -07:00
Jeff Young
080761c85e Fix side-effect from algo change.
(I also discovered that we were computing the intersection
twice, so I fixed that too.)
2024-07-10 18:55:07 +01:00
Seth Hillbrand
3df7b1baa3 Update max recursiondepth default per @jeffyoung 2024-07-10 08:29:55 -07:00
Seth Hillbrand
e8f3545423 Update max recursiondepth default per @jeffyoung 2024-07-10 08:29:15 -07:00
Jeff Young
c3dfa672e1 Apply a bit more tension to teardrop shapes.
This also simplifies the algorithm a bit.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17017
2024-07-10 15:02:25 +01:00
Jeff Young
05d77c6a7d Minor readability improvement. 2024-07-10 15:02:25 +01:00
Jeff Young
62fc18d22e Allow teardrops on custom-shaped pads.
They work OK in a lot of circumstances.  Where the don't
work, the user can turn them off.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17565
2024-07-10 15:02:25 +01:00
John Beard
bb100994a7 Eeschema: swap label rotations (and include fields)
This means that labels keep the position relative
to what they are connected to after the swap.

An attempt is made to map the fields of a label
into the position of a matching field (i.e. same name)
on the swapped-to label.

Move the SCH_FIELD rotation justification
handling to the SCH_FIELD class, so it's not just
SCH_LABEL that handles it.

https://gitlab.com/kicad/code/kicad/-/issues/18303
2024-07-10 21:37:27 +08:00
aris-kimi
6969b9d64f Open library file preselected in the file explorer for both symbol and footprint editors. 2024-07-10 06:14:04 +00:00
Seth Hillbrand
3ebca155a6 Fix missing copperCount dec
Was accidentally removed in LSET cleanup
2024-07-09 21:10:01 -07:00
Seth Hillbrand
fba3b36f04 Correct pad connections for 45° circular
When calculating the pad bbox, we need to only account for deflation of
zone min width.  Additionally, when calculating spokes for roughly
circular elements, we don't need to go to the bbox corners, so special
case it to rotate after the fact

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18329
2024-07-09 17:08:00 -07:00
JamesJCode
c05dd18613 Don't reset sheet / screen file names if cancelling repeat insert
in recursive state

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18199
2024-07-09 20:27:01 +01:00
Seth Hillbrand
3a8a5bb378 Convert courtyards with error allowance
We convert arcs/circles to polygons with an allowable error.  This means
that the segments might end up being closer than we expect and we should
allow for this deviation when checking courtyards

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18347
2024-07-09 12:10:53 -07:00
Seth Hillbrand
6f285066e4 Simplify spoke generation
Sin/Cos are pre-caclulated for all multiples of 45° so we don't need to
short circuit them here.  Calculating the bbox intersection point allows
us to pick spoke sizes that are not overly large so as to miss the hit
point testing in the associated fill areas.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18329
2024-07-09 17:44:03 +00:00
Jeff Young
556efd836b Fix RecombinePad when pad is rotated.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18348
2024-07-09 18:14:14 +01:00
Seth Hillbrand
f05698202a Add multiple wires ERC to panel 2024-07-09 10:09:57 -07:00
Seth Hillbrand
4431246cbe ADDED: ERC Test for labels on multiple wires
When a label overlaps two or more wires, it is not clear which one it
should connect to.  This is an ERC warning

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18346
2024-07-09 10:06:27 -07:00
Jeff Young
bfecb7891c ADDED: --use-drill-origin arg to export DXF. 2024-07-09 17:41:34 +01:00
Mathieu Pilato
c8aa3f21aa Fix measurement format not saved when modified
Always update stored measurements name / format when updating measurement
2024-07-09 16:39:36 +00:00
Mathieu Pilato
75141da53a Move default format inside SPICE_VALUE_FORMAT
This ensures that the default format is the same, however the measurements are added
2024-07-09 16:39:36 +00:00
Mathieu Pilato
a5b7c65d7a Fix spice errors when rerunning a simulation with measurements
Mark the simulation as not finished before starting it, preventing measurements from being requested
from spice right before simulation starts
2024-07-09 16:39:36 +00:00
Mathieu Pilato
98b4a58059 Clear measurement grid while changing tab
Prevent a tab change while editing measurement from impacting measurements of target tab
2024-07-09 16:39:36 +00:00
Mathieu Pilato
c6e8838178 Fix measurements not being loaded with workbook
onPlotChanging() was overwriting loaded measurements. Do not read grid from onPlotChanging().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18326
2024-07-09 16:39:36 +00:00
Mathieu Pilato
414ac2b83c Increase default measurement precision to 3 digits 2024-07-09 16:39:36 +00:00
Seth Hillbrand
0e1f7bceb4 Fix some copy-pasta 2024-07-09 09:35:55 -07:00
Seth Hillbrand
dab9580acd Fix a crash when adding wires in Schematic Editor
Not all UNDO_REDO items have screens associated with them.  We only care
about items that are added, changed or removed.  The others are
modifications to libedit, origins, page settings, groupings or the
repeat flag
2024-07-09 09:30:50 -07:00
jean-pierre charras
b29ee85b4a DIALOG_ZONE_MANAGER_BASE: update code to last wxFormbuilder version.
- remove specific windows IDs (use wxID_ANY everywhere) to avoid any conflict
- add tool-tips
- update also PANEL_ZONE_PROPERTIES_BASE
- should not create any actual change.
2024-07-09 14:02:51 +02:00
JamesJCode
230c297691 Fix tuning pattern moves and undo / redo 2024-07-09 12:09:31 +01:00
Lucas Dumont
535a270e19 Add preview for zone in Zone Manager
Rename the "Apply" button into "Update displayed zones" and prevent
some segfault when cancelling the changes made in the zone manager.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17418
2024-07-09 08:28:54 +00:00
Lucas Dumont
0420930d0d Revert "Save change made in zone manager when apply"
This reverts commit 4f9d0daeef.
2024-07-09 08:28:54 +00:00