Jon Evans
fc96cb90f1
Fix validation of net names in eeschema
The SCH_NETNAME_VALIDATOR wasn't even being used because C++ is great
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1821
4 years ago
Jon Evans
e95323a37e
Revert "Remove unused variable."
It's only unused on Mac
This reverts commit d3fb22014f .
4 years ago
Jeff Young
f46486bc3e
Naming conventions.
4 years ago
Jon Evans
3aab37bd2a
Fix determinism issue when comparing a local and hierarchical label
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8406
4 years ago
Jon Evans
8cbd754362
Preserve highlighted connection through a recalculation
4 years ago
Jeff Young
126cd14715
Fix width setting bug in Net Inspector.
4 years ago
Jeff Young
6a0a38ec29
Prevent wxWidgets assertion.
4 years ago
Jeff Young
37fac6de35
Use ChangeValue() instead of SetValue() to keep from firing events.
Otherwise setting a filter also turns off the Show All Nets checkbox.
Also make sure that config values get saved when they're changed.
4 years ago
Jeff Young
d3fb22014f
Remove unused variable.
4 years ago
Jeff Young
4b07a55ef8
Fix net name to net code map to handle sorting and filtering.
Fixes https://gitlab.com/kicad/code/kicad/issues/8714
4 years ago
Jon Evans
ddc20dadc0
Formatting and spelling tweaks
4 years ago
Roberto Fernandez Bautista
cee5920d5c
Remove dead code (SHAPE_LINE_CHAIN::DetectArcs)
4 years ago
Roberto Fernandez Bautista
778c64de88
Implement ClearArcs() and check curved polys don't get a booleanOp
We cannot (yet) support passing several curved outlines through clipper.
In these cases, the caller should ClearArcs() before processing.
4 years ago
Roberto Fernandez Bautista
260a9d0540
Use ZFillFunction to modify arcs post clipper (does not fully work yet)
Added a unit test to verify union and intersection of polygons result
in desired results: subject + clip - intersect == union
4 years ago
Roberto Fernandez Bautista
437e2783fb
Use Clipper Z value to detect arcs post clipper
4 years ago
Roberto Fernandez Bautista
cad27f9baa
Clipper: Use std::function for Z fill callback
5 years ago
Roberto Fernandez Bautista
83263784ea
Define use_xyz in clipper.hpp to allow use of Z values
4 years ago
Roberto Fernandez Bautista
a9a8aa8243
SHAPE_LINE_CHAIN splitArc on Insert, Remove and Replace
This ensures that the arc shapes remain correct after removing
a point belonging to an arc or inserting a point in the middle
of an arc.
Simplify implementation of Replace( ..., aP ). Now a Remove
operation followed by an Insert operation.
Improve QA test for SHAPE_LINE_CHAIN Append, Insert and Replace
Implement SHAPE_LINE_CHAIN::splitArc to break up an arc into two
Implement SHAPE_ARC::ConstructFromStartEndCenter and add qa test
5 years ago
Roberto Fernandez Bautista
2f069c0b19
Add test for detecting arcs post clipper
5 years ago
Roberto Fernandez Bautista
3f73d8c2b5
SHAPE_LINE_CHAIN::Area() should always be positive
The algorithm relied on the assumption that the points were
ordered anti-clockwise. When ordered in a clockwise fashion, the
result was correct but negative.
Refer to https://www.mathopenref.com/coordpolygonarea2.html
for more information.
5 years ago
Roberto Fernandez Bautista
c3051ba48a
Refactor SHAPE_LINE_CHAIN to allow two shapes per point
m_shapes now has two possible indices. The first one is populated if
the point is associated with an arc and the second index is populated
if the point is shared between two arcs.
5 years ago
Roberto Fernandez Bautista
e54a44e1d3
Add qa test for SHAPE_POLY_SET::Simplify()
5 years ago
Roberto Fernandez Bautista
c1361ae173
SHAPE_POLY_SET: Detect arcs after boolean operations
5 years ago
Roberto Fernandez Bautista
3ee8b4825c
Implement SHAPE_LINE_CHAIN::DetectArcs and add qa test
5 years ago
Roberto Fernandez Bautista
14c3d9055e
Add CIRCLE::Contains( VECTOR2I aP ) and add unit tests
5 years ago
Seth Hillbrand
a28d9f17e8
WIP
5 years ago
Seth Hillbrand
8521deb38d
De-scope ClipperLib namespace
5 years ago
Seth Hillbrand
6c224156f5
Adding conversion from points to arcs
Allows detection of arcs from segments in a SHAPE_LINE_CHAIN, converting
them to SHAPE_ARCs in the chain
5 years ago
Seth Hillbrand
5b2be906b8
Removing CLIPPER poly support
5 years ago
Seth Hillbrand
4f4deece6d
ADDED support for reading/writing arcs in polys
This adds support for reading and writing arc elements in polygons.
5 years ago
Jon Evans
252bf76452
Fix off-by-one in AssembleTuningPath
4 years ago
Jon Evans
3c59e452d6
PNS: Set tuned path correctly in skew tuner
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8708
4 years ago
Jon Evans
1b9893841b
Add a tooltip explaining the track width dropdown
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8719
4 years ago
Jon Evans
277bf2b719
Add feedback showing current router state to the message panel
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8265
4 years ago
Jeff Young
bc65b7173f
Don't use SCH version number when inspecting PCB files.
4 years ago
Jeff Young
5507230b9b
Minor dialog spacing issue.
4 years ago
Wayne Stambaugh
3f6811f413
Minor dialog layout improvements.
4 years ago
Jeff Young
400f4ae506
Code cleanup.
4 years ago
Jeff Young
780a8a5154
Fix another place disallowing internal microvias.
Fixes https://gitlab.com/kicad/code/kicad/issues/8716
4 years ago
jean-pierre charras
98616d2c96
French translation update.
4 years ago
jean-pierre charras
eedd32177e
Fix a minor compil warning
4 years ago
Marek Roszko
eff75b630f
Get rid of anonymous struct typedefs
We are using C++14 where there is no reason for this and is banned in C++20 under P1766R1. MSVC generates a warning under C++14 as a reminder.
4 years ago
Jeff Young
d7271c9281
Unescape strings for display in symbol browser.
Fixes https://gitlab.com/kicad/code/kicad/issues/8694
4 years ago
Jeff Young
04764c9224
Allow dragging of fields in symbol aliases.
Fixes https://gitlab.com/kicad/code/kicad/issues/8698
4 years ago
Jeff Young
f8a34d98b3
Support for overbar syntax in Altium importer.
Fixes https://gitlab.com/kicad/code/kicad/issues/7979
4 years ago
Seth Hillbrand
c23e39dbe7
Avoid adding invalid text to temporary fp
Adding values/references to footprint text is an assertion. This avoids
the assert when copying a full footprint by skipping the extra text
4 years ago
Seth Hillbrand
3496f3c787
Add Thai Translation
4 years ago
Wayne Stambaugh
507a88524a
KiCad internal library header file housekeeping.
4 years ago
Seth Hillbrand
27fd8d4ccb
Update Translations
4 years ago
CloverGit
97797823de
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (6988 of 6990 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
4 years ago