To represent KiCad's internal units (1 nm), it's enough to have:
- 6 decimal digits in mm;
- 8 decimal digits in inches.
There's not much point in reducing the precision.
Up to 10 digits allowed just in case.
Also changes precision to 6 decimal digits by default.
Having Gerber Plot outputs in mm and drill outputs in inches was
causing tiny misalignments. This change switches Excellon output
units to mm by default.
To avoid clipping the launcher buttons, this size was determined by hand
tweaking on Linux so it may be less than optimal on other platforms. This
only affects the very first launch of a new version. Once the frame size
is saved in the configuration file, that is the new size until the user
changes it.
It's possible you might want Exclude from Sim to be unit-specific,
but it's pretty hard to imagine how Exclude from Board, BOM,
or DNP could be unit-specific. (Maybe use a pill cutter on the chip?)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19029
Recalculating the update on each change is expensive. Instead, we can
check to see which tracks might be involved first and then just run the
expensive check on the potentials. This also allows us to parallelize
the non-changing check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19340
ea904c9f introduced a new cli argument to `kicad-cli sch export bom`,
but it did not actually register it with the argument parser. Any
invocation of `kicad-cli sch export bom` currently results in this
error:
Error: Unhandled exception class: St11logic_error what: No such
argument: --include-excluded-from-bom
This patch adds the registration.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19335
Remove the PROFILE definitions from the incremental connectivity
profiling so a special build isn't required. If the starting and
stopping the profile timer is excessive, we can add this back.
(cherry picked from commit 8a09e5f3c3)
- "Fill all vias" option disables the cut in copper layers which is
important to speed up EM simulations.
- "Cut vias in board body" enables cutting even if copper layer export
is disabled, which is useful if you're using vias as mounting holes.
Related: https://gitlab.com/kicad/code/kicad/-/issues/18735
The various wxCHECKs in the SCH_PIN object where being raised inside
the SCH_SYMBOL object which would also raise it's own wxCHECK that
would cause a recursion guard failure and segfault. The offending
wxCHECKs were replaced with null pointer checks. Missing library
symbol links will be shown with the missing library symbol.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17146
Manually cherry picked from cf71e5707e
The schematic commit system currently does not handle renaming symbols
in the symbol library editor or page settings in the schematic editor.
The schematic commit system will have to be modified to support the two
remaining direct calls to the undo/redo code.