Jeff Young
34139ae305
Push generalised sketch-mode support down into DXF_PLOTTER.
2025-05-10 17:31:59 +01:00
Jeff Young
3458534fd7
Cleanup plotting APIs.
2025-05-10 17:31:59 +01:00
Jeff Young
225b6aa2e8
Remove sketch-plot-mode support from Gerber and PS.
...
(It was never enabled for Gerber anyway.)
2025-05-10 17:31:59 +01:00
Jeff Young
88695af364
Move sketched DNP items to plot_brditems_plotter.cpp.
2025-05-10 17:31:59 +01:00
Jeff Young
3f41090630
Move drill-mark generation into GENDRILL_WRITER_BASE.
2025-05-10 17:31:59 +01:00
Jeff Young
c78ce373fd
Move pad-outline plotting to plot_brditems_plotter.cpp.
2025-05-10 17:31:59 +01:00
Jeff Young
c452fe9686
REMOVED: HPGL plotting.
...
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
2025-05-10 17:31:59 +01:00
jean-pierre charras
db23ee481c
Pcbnew: fix an issue that prevent to write the right layer type in brd files
...
In layers block, the file type for User.n was always written as "user" type.
However this type can be set to "front" or "back" by the board settings
dialog (Off-board, front or Off-board, back) and allowed in file.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20892
2025-05-10 16:59:40 +02:00
Seth Hillbrand
85a78c4530
Check for valid board before query
...
New items may not have a board set and will return nullptr
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20893
(cherry picked from commit cd3fea196cad5d6b73c4b2c5e70730e5431b6746)
2025-05-09 13:45:40 -07:00
Seth Hillbrand
ca7fbbe176
Add wait dialog when switching projects
...
If we are in the middle of a git operation when switching projects, wait
and show the user a dialog explaining what is going on
2025-05-09 13:31:46 -07:00
Seth Hillbrand
c06ddf966d
Don't overwrite explicit sizes unless needed
...
We already did this for single-ended, this extends to dp routes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20889
2025-05-09 13:31:39 -07:00
Seth Hillbrand
fe0422b958
Fix infinite loop in QuasiModal
...
Now that we use RAII nuller, we need to avoid the case where
m_qmodal_loop is nulled before it ends
(cherry picked from commit 75fa0ab0c99ad7d44c0d3fccd513174982bd7771)
2025-05-09 10:28:29 -07:00
Seth Hillbrand
fc6f1f41d2
Make sure we re-hide hidden fields
...
Fields that are forced to be shown need to be re-hidden when the find
dialog closes. While they are _also_ brightened, this flag may be
cleared by other processes, so we need to test for the forced visibility
as well.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20865
2025-05-08 16:47:55 -07:00
Seth Hillbrand
fd3620296b
Remove errant printf
2025-05-08 15:55:30 -07:00
jean-pierre charras
cc75b511ba
Eeschema, Net Navigator: fix incorrect refresh of nets tree.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20648
2025-05-08 11:40:50 +02:00
jean-pierre charras
4de6be8124
Fix a collision name in a windows header (GROUP). Windows specific.
...
Changed to GROUP_PLACEMENT (No actual code change)
2025-05-08 11:15:55 +02:00
Jon Evans
71417fbe3b
API: Use action wrapper for setting grid origin
...
Fixes https://gitlab.com/kicad/code/kicad-python/-/issues/47
2025-05-07 23:28:19 -04:00
Seth Hillbrand
97296a3b08
Properly handle arc coupled items
...
When arcs do not share a center, the circle formed by the arc will be
closer on one side than the other. When this happens, the NearestPoints
calculation was accidentally taking the distance from the wrong side of
the circle.
Note that this was likely due to the conventions for Rotate (positive =
reduce angle) being mixed up with angular addition
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20636
2025-05-07 13:12:05 -07:00
Seth Hillbrand
99a0f00087
Prevent assertion when flipping
...
Markers do not flip, so avoid including them
2025-05-07 13:10:43 -07:00
Mike Williams
5a87978099
build: don't use a GTK specific notebook function
2025-05-07 14:22:27 -04:00
Mike Williams
a582c51de7
multichannel/shapes: don't try to rectify empty polygons
2025-05-07 14:10:22 -04:00
Mike Williams
87c91fea3d
multichannel: support groups
2025-05-07 12:40:59 -04:00
Mike Williams
a17ef3fd93
groups: add support for syncing from SCH->PCB
2025-05-07 12:40:59 -04:00
Jeff Young
b14472e105
Skip same-net-checking for hole-to-hole collisions.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20547
2025-05-07 13:28:48 +01:00
Salvador E. Tropea
c519a6b827
Fix kicad-cli pcb export pdf --mode-multipage
...
So it generates one PDF instead of multiple PDFs
2025-05-06 22:50:18 +00:00
Jeff Young
8945bcc231
Also trim board item layersets.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20063
2025-05-06 18:42:13 +01:00
Jeff Young
da242ec3f3
Trim library layers to instance board before comparing.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20552
2025-05-06 17:54:25 +01:00
Jeff Young
e64c7a4aba
Don't apply coupling rules to tuning patterns.
2025-05-06 17:54:25 +01:00
Salvador E. Tropea
1c07703851
Add "scale" option to "pcb export plotter" CLI and JOB
...
- Not for gerbers
- DXF, HPGL, PDF, PS and SVG
- Remove the GUI limitation that prevented the use of border & title when
using a scale != 1
2025-05-06 16:32:53 +00:00
Mike Williams
71f71641c2
groups: dialog needs shared_ptr for lifetime issues
...
Tool resets were deleting the commit out from under us.
2025-05-06 11:29:42 -04:00
Mike Williams
9ca881112b
design blocks: as place as group functionality to schematic
2025-05-06 11:29:42 -04:00
Mike Williams
217b6d0e30
PCB: handle area calculations in groups/generators
2025-05-06 11:29:42 -04:00
Jeff Young
ea8b0c0e8a
Don't expect a B item when evaling DIFF_PAIR_GAP_CONSTRAINT.
...
The checker first builds a map with only the
A items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19825
2025-05-06 14:15:03 +01:00
Jeff Young
6b08407bd5
Formatting.
2025-05-06 13:11:07 +01:00
Jeff Young
6307058ac8
Formatting and reduced reliance on dyn_cast.
2025-05-06 12:03:09 +01:00
Alex Shvartzkop
a96a9fc357
Update translations
2025-05-06 12:53:00 +03:00
dsa-t
eca9736dc8
Translated using Weblate (Russian)
...
Currently translated at 96.9% (9936 of 10246 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2025-05-06 11:52:03 +02:00
Pferd O
a49893cb26
Translated using Weblate (German)
...
Currently translated at 98.6% (10111 of 10246 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-05-06 11:52:03 +02:00
Henrik Kauhanen
74dc2935e5
Translated using Weblate (Swedish)
...
Currently translated at 99.8% (10234 of 10246 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-05-06 11:52:03 +02:00
ZbeeGin
2fc2dc0d0a
Translated using Weblate (Polish)
...
Currently translated at 100.0% (10246 of 10246 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-05-06 11:52:03 +02:00
2tama3
62073cb7cf
Translated using Weblate (Japanese)
...
Currently translated at 98.0% (10047 of 10246 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-05-06 11:52:03 +02:00
JamesJCode
019921cb48
Add new CONNECTIVITY_CANDIDATE flag
...
We reuse the CANDIDATE flag in various places across the codebase,
which is probably incorrect given the original intention for the
flag. Clearing it before use would be a performance hit for incremental
connectivity - and we can't rely on other users of the flag to clear
it for us. So we now use a new flag just for connectivity to avoid
other users trampling on connectivity updates.
2025-05-05 22:17:57 +01:00
Maciej Suminski
5147fd9829
altium: do not reshape NPTH pads to match the holes
...
Resizing pads affects also their solder mask and solder paste patterns,
admittedly in some unusual footprints.
2025-05-05 19:01:54 +00:00
Mike Williams
774cf6fbc8
bom export: don't break column order on mismatched column counts
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20520
2025-05-05 13:52:37 -04:00
Jeff Young
00e9d0241c
Add some missing items to copy c'tor and comparator.
2025-05-05 18:47:20 +01:00
Jeff Young
676cd4b299
ADDED: front & back copper area to board statistics.
...
Also decreased the precision for message text
representing areas or volumes. 22150.3510mm^2
seems a bit excessive.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14653
2025-05-05 18:26:10 +01:00
Mike Williams
94b7d48f62
sch groups: fix walking text when rotating a single group
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20712
2025-05-05 10:54:18 -04:00
Mike Williams
2e8367a40a
sch groups: don't allow drag selecting table cells in un-entered group
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20834
2025-05-05 10:35:47 -04:00
jean-pierre charras
e8a9335c44
pegtl: fix compil warnings about a deprecated header (ciso646).
2025-05-05 16:23:06 +02:00
Mike Williams
3112a0b38b
sch groups: fix grid alignment on copy/paste
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20823
2025-05-05 10:02:03 -04:00