Jeff Young
6757ba8165
Use consistent terminology and types.
5 months ago
Jeff Young
c2537f81b7
Use board maxError for teardrops.
5 months ago
Jeff Young
a65534a337
Use lower error limit where appropriate.
In both these cases we're just checking for a well-formed
outline. We don't use the resulting poly.
5 months ago
Jeff Young
9ec4c9f540
Algorithmic safety.
Don't let computation times blow up.
5 months ago
Tomasz Wlostowski
96cd5ea8c1
revert #07a86873c (accidental debug code)
5 months ago
Tomasz Wlostowski
1907580b82
router: initial fix for 'reshoving' tracks whose clearance has been increased
5 months ago
Tomasz Wlostowski
07a86873ca
topo match by value + prof
5 months ago
Marek Roszko
e30fdcb500
Write fileinput stream directly to zliboutput stream in Plot3DModel
5 months ago
Mark Roszko
7e7b3762bb
Add u3d file extension to FILEEXT
5 months ago
jean-pierre charras
033fcc0f6b
French translation update
5 months ago
Marek Roszko
961de62278
Remove extra include from job headers
5 months ago
Michal Suchanek
8110347844
Define GL_SILENCE_DEPRECATION globally on OS X
6 months ago
Michal Suchanek
81bbb5e67b
Define WIN32_LEAN_AND_MEAN globally
In modern Windows code WIN32_LEAN_AND_MEAN should be defined.
Without this define windows.h pulls in some legacy headers, notably
winsocks.h. Modern code that cares about winsocks includes winsocks2.h
which conflicts with winsocks.h. Other code that does not care about
winsocks (OpenGL, fontconfig, ...) includes windows.h pulling in legacy
winsocks.h, causing definition conflicts and build errors.
At worst defining WIN32_LEAN_AND_MEAN requires explicitly including some
additional headers on Windows.
6 months ago
Michal Suchanek
ca54db2db4
windows: Fix build on case sensitive filesystem
5 months ago
Michal Suchanek
fbf0d32391
cmake: Fix wxWidgets platfrom detection
wx-config --selected-config gives
x86_64-w64-mingw32-msw-unicode-static-3.2
Which in turn gives wxWidgets port 'x' with "^[msw|qt|gtk|osx]*"
5 months ago
Michal Suchanek
df33ec79f7
test_ki_any: Add missing cstdint include
This is probably pulled in by some of the other includes for some build
configurations, but not always.
5 months ago
Marek Roszko
0268ed6d28
Add 3d pdf functions to PDF_PLOTTER to reduce rebasing pain
5 months ago
Jeff Young
57a3a3a2ec
ADDED: hidden fields control for PCB find.
(Also improved label of control for SCH find.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20871
5 months ago
Jeff Young
5e6ef67fce
Plot drill marks on mask layers if the pad exists there.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20859
5 months ago
Jeff Young
34139ae305
Push generalised sketch-mode support down into DXF_PLOTTER.
5 months ago
Jeff Young
3458534fd7
Cleanup plotting APIs.
5 months ago
Jeff Young
225b6aa2e8
Remove sketch-plot-mode support from Gerber and PS.
(It was never enabled for Gerber anyway.)
5 months ago
Jeff Young
88695af364
Move sketched DNP items to plot_brditems_plotter.cpp.
5 months ago
Jeff Young
3f41090630
Move drill-mark generation into GENDRILL_WRITER_BASE.
5 months ago
Jeff Young
c78ce373fd
Move pad-outline plotting to plot_brditems_plotter.cpp.
5 months ago
Jeff Young
c452fe9686
REMOVED: HPGL plotting.
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
5 months ago
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
5 months ago
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 cd3fea196c
)
5 months ago
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
5 months ago
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
5 months ago
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 75fa0ab0c9
)
5 months ago
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
5 months ago
Seth Hillbrand
fd3620296b
Remove errant printf
5 months ago
jean-pierre charras
cc75b511ba
Eeschema, Net Navigator: fix incorrect refresh of nets tree.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20648
5 months ago
jean-pierre charras
4de6be8124
Fix a collision name in a windows header (GROUP). Windows specific.
Changed to GROUP_PLACEMENT (No actual code change)
5 months ago
Jon Evans
71417fbe3b
API: Use action wrapper for setting grid origin
Fixes https://gitlab.com/kicad/code/kicad-python/-/issues/47
5 months ago
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
5 months ago
Seth Hillbrand
99a0f00087
Prevent assertion when flipping
Markers do not flip, so avoid including them
5 months ago
Mike Williams
5a87978099
build: don't use a GTK specific notebook function
5 months ago
Mike Williams
a582c51de7
multichannel/shapes: don't try to rectify empty polygons
5 months ago
Mike Williams
87c91fea3d
multichannel: support groups
5 months ago
Mike Williams
a17ef3fd93
groups: add support for syncing from SCH->PCB
5 months ago
Jeff Young
b14472e105
Skip same-net-checking for hole-to-hole collisions.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20547
5 months ago
Salvador E. Tropea
c519a6b827
Fix `kicad-cli pcb export pdf --mode-multipage`
So it generates one PDF instead of multiple PDFs
6 months ago
Jeff Young
8945bcc231
Also trim board item layersets.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20063
5 months ago
Jeff Young
da242ec3f3
Trim library layers to instance board before comparing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20552
5 months ago
Jeff Young
e64c7a4aba
Don't apply coupling rules to tuning patterns.
5 months ago
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
6 months ago
Mike Williams
71f71641c2
groups: dialog needs shared_ptr for lifetime issues
Tool resets were deleting the commit out from under us.
5 months ago
Mike Williams
9ca881112b
design blocks: as place as group functionality to schematic
5 months ago