Jeff Young
8c6c87eaf4
Separate footprint lib issues from footprint mismatch issues.
Fixes https://gitlab.com/kicad/code/kicad/issues/10132
4 years ago
Jeff Young
6ccfec0553
Layer handling for copper sliver exclusions.
Fixes https://gitlab.com/kicad/code/kicad/issues/10147
4 years ago
Frank Zeeman
f063c00bf1
Fix gr_arc indentation level
4 years ago
Roberto Fernandez Bautista
de7158b80e
Include Footprints within Groups when re annotating duplicates
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10329
4 years ago
Jeff Young
267eca28cd
Font support for global edit text & graphics dialogs.
4 years ago
Jeff Young
8f7d2dd06a
More VECTOR2D -> VECTOR2I and wxPoint cleanup.
4 years ago
Seth Hillbrand
acf2e1601c
Fix copy-paste error
(cherry picked from commit 8dca61ce9c )
4 years ago
Seth Hillbrand
70b0ac15ea
Handle arcs in global track width changes
Also add defensive code against invalid indices
Fixes https://gitlab.com/kicad/code/kicad/issues/10325
(cherry picked from commit bd7841bf96 )
4 years ago
Marek Roszko
fcfe42d67c
Continue the war on wxPoint
4 years ago
Jeff Young
21790fcab7
Fix a pair of dereference-freed-pointers in DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/10335
4 years ago
jean-pierre charras
4cdfd14f25
Fix a compil issue.
4 years ago
Seth Hillbrand
fade00a2b8
Remove default hotkey for toggle zone display
It is too easy to accidentally hide your zones and the 'A' hotkey is
intuitively mapped to Add Footprint, to match Add Symbol in eeschema.
This won't change current hotkey customizations but will help prevent
future user error. Users can still map the action to a hotkey if the
new toggle is useful to their workflow
(cherry picked from commit 4d899d7820 )
4 years ago
jean-pierre charras
ac78d51b14
Teardrops: better dialog, and better code
4 years ago
jean-pierre charras
5644f236d8
Allow teardrops only if advanced config define AllowTeardrops=1
4 years ago
jean-pierre charras
d42514ad30
Add code and dialog to create/add/remove teardrops, step 1
4 years ago
Seth Hillbrand
6165fd2be5
Fix FP circle validity check
Radius is encoded by m_endX
Fixes https://gitlab.com/kicad/code/kicad/issues/10337
(cherry picked from commit 4907b90215 )
4 years ago
jean-pierre charras
cfe93e34a2
PCB_BASE_FRAME::FocusOnItem(): avoid extremely long calculation time for zones.
The algo used to calculate a focus point on a zone can be *extremely* time
consuming when using the filled areas in zone (can be matter of minutes and more).
So we use now only the zone outlines usually having not a lot of vertices.
4 years ago
Jeff Young
73a2984963
Fixes for rotated footprint text.
4 years ago
Jeff Young
236feeb592
Cleanup GRText APIs, 3D Viewer <-> board APIs, and Plotter APIs.
Also fixes a bug where outline fonts weren't being handled for footprint
text in 3D Viewer, and a copy/paste error in stroke font handling for
both PCB and footprint text in 3D Viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/10319
4 years ago
Jeff Young
2563518f3a
Fix compile error.
4 years ago
jean-pierre charras
c24985e8cf
drc_test_provider_sliver_checker.cpp: skip very small vertices when testing.
Very small vertices (length <= 2 or 3 iu) are frequent in filled areas, and
create false positive detections because one cannot calculate a meaningful
orientation of these vertices.
4 years ago
Jeff Young
7d032f9c2f
Outline font rendering for Cairo, plotter, printer and 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/10319
4 years ago
Jeff Young
76368af7b9
Font cleanup and bug fixes.
4 years ago
Wayne Stambaugh
f379c49084
Pcbnew: honor footprint exclude from BOM setting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10297
4 years ago
Jeff Young
2fea9e7513
Fix bone-headed copy/paste error formatting gr_poly and fp_poly.
4 years ago
Jeff Young
3c60b92472
Add custom rule examples from Martin Straub.
4 years ago
Jon Evans
974a66ddec
Ensure LIB_TREE cleans up while frame still exists
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10266
(cherry picked from commit 76f21d950d )
4 years ago
Jeff Young
e3328e54c4
Fix view switcher on Mac.
Solution for MSW/GTK still isn't great.
4 years ago
Jeff Young
27c967421c
Commenting and "auto" reduction.
4 years ago
Jeff Young
aef2a3fca4
Default font for eeschema.
4 years ago
Jeff Young
eb58d7e44c
Text glyph caches and bug fixes.
1) Unify metrics between stroke and outline fonts
2) Unify handling of rotation and mirroring
3) Bug fixes in collision handling
4) Use of VECTOR2I (instead of VECTOR2D) for world-coordinates
5) Generate outline font overbar with rounded ends and fix rotation
bugs
6) Generate wxEVT_CHOICE events from FONT_CHOICE::SetFontSelection
7) Change text-item PNS SOLIDs to use compound shapes
4 years ago
Jeff Young
72340fcee2
Implement router and DRC collisions for outline fonts.
4 years ago
Jeff Young
a2030a5956
GUI for font selection.
4 years ago
Ola Rinta-Koski
72b69e8d7f
File format changes for fonts.
4 years ago
jean-pierre charras
9c29cc945c
prepare teardrops, round 2
4 years ago
jean-pierre charras
2b20a58615
Zone fill: fix an issue that uses thermal spoke width as thermal gap.
Fixes #10300
https://gitlab.com/kicad/code/kicad/issues/10300
4 years ago
jean-pierre charras
33dbe92deb
drc_test_provider_mechanical_clearance: add missing handling of SHAPE_T::RECT
test_ee_item.cpp: add missing call to ClearFieldsAutoplaced();
4 years ago
Seth Hillbrand
4a16c603e9
Don't bind to Alt+Tab
The Alt key is not usable by programs under Windows and Alt+Tab is
reserved on both MSW and Linux. Instead, we use the Shift modifier to
determine which preset to open
4 years ago
Seth Hillbrand
26c0a78947
Plot pads in layer color
v6 pads are not allowed to be a different color from the rest of the
copper layer, so don't query the GAL layer for a color
Fixes https://gitlab.com/kicad/code/kicad/issues/10293
(cherry picked from commit bfca928900 )
4 years ago
jean-pierre charras
53770fec68
Ensure thermal spoke widths are smaller than the pad size (fix a regression)
This is needed to create good thermal reliefs, and ensure the DRC about
thermal spoke count works.
Fixes #10246
https://gitlab.com/kicad/code/kicad/issues/10246
4 years ago
jean-pierre charras
534d635dd4
DIALOG_DRC: avoid use UNDEFINED_LAYER when select or activate a physical layer.
Although strangely it did not create issues on Linux, it does not work on Windows
4 years ago
Seth Hillbrand
4f874057ab
DRC scripting: load project from board if possible
s_SettingsManager is not always initialized when the WriteDRCReport is
run. We should first attempt to extract the project from the actual
board being checked. Failing that, we fall back to the static settings manager and then exit if we don't have a project associated.
Fixes https://gitlab.com/kicad/code/kicad/issues/10221
(cherry picked from commit 78e737b9d8 )
4 years ago
jean-pierre charras
7fa451dc93
Thermal reliefs: fix incorrect calculation
commit eeef655 did not fix the calculations.
4 years ago
Steffen Mauch
82f147ecef
pcbnew: EAGLE plugin is case sensitive to >VALUE / >NAME
Fixes https://gitlab.com/kicad/code/kicad/issues/10253
4 years ago
Steffen Mauch
a5307c6f59
pcbnew: fixing eagle_plugin with empty class names
Fixes #10229
https://gitlab.com/kicad/code/kicad/issues/10229
4 years ago
jean-pierre charras
eeef65533a
Pad Thermal Reliefs: fix spoke incorrect angle for rotated pads.
Fixes #10251
https://gitlab.com/kicad/code/kicad/issues/10251
4 years ago
jean-pierre charras
c8d6ad0714
Pcbnew, dimensions fix params incorrectly saved for ortho dim
Fixes #10254
https://gitlab.com/kicad/code/kicad/issues/10254
4 years ago
Marek Roszko
cc5003a919
Update python for the pad wxSize switch
4 years ago
Jon Evans
bf38cb56b7
Handle footprint shapes in polygon creation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10259
(cherry picked from commit f9d8ec6137 )
4 years ago
Jon Evans
4be56825bb
Fix creating polygons from footprint rule areas
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10257
(cherry picked from commit e9b91b6fab )
4 years ago