Jeff Young
9b9efb9002
Cache for netclass pattern assignments.
3 years ago
Wayne Stambaugh
a1fb8e1b1d
Coverity fixes and code cleaning.
3 years ago
Jeff Young
7547e550aa
Use name (even for fallback models) *if* it's specified in dropdown.
Fixes https://gitlab.com/kicad/code/kicad/issues/12425
3 years ago
jean-pierre charras
eeee3adb94
Step exporter: code cleaning and merge connected tracks in polygons
3 years ago
Jeff Young
d96598c87c
Add 12505 to the regression test suite.
Fixes https://gitlab.com/kicad/code/kicad/issues/12505
3 years ago
Jeff Young
630ff02369
Fix bone-headed logic.
(Else clause never gets called because 3 is always > 2.)
3 years ago
Jon Evans
61d30ee5bc
Use constraints to determine netclas width
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14190
3 years ago
Stefan
90b5dba5ac
Altium Importer: add note that Parameter Set import is not yet supported
3 years ago
Jon Evans
819b767635
Bump to requiring wxWidgets 3.2.0
By the time 8.0 is out, we will not be supporting any platforms
on wxWidgets older than 3.2.0
3 years ago
qu1ck
88062c5fc3
Add vector3 to swig
Fixes regression in 7.0 making fp 3d model offsets not accessible in
python
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14179
3 years ago
Jon Evans
10d1ba59d8
Fix compile warning
3 years ago
Jon Evans
7b3fd2113c
Improve sheet rendering performance
- Cache font markup parsing
- Cache SCH_SYMBOL::GetOrientation
- Don't construct new strings each time in GetDefaultFieldName
3 years ago
aris-kimi
5b43dc4e7b
Simulator: Fix diode ibv unit
3 years ago
Jeff Young
6a5f305684
Allow others to also process units changed event.
Fixes https://gitlab.com/kicad/code/kicad/issues/14156
3 years ago
Jeff Young
2994fa26cd
Allow separate processing of dimensions in Edit Text & Graphics Properties.
3 years ago
Jeff Young
461def2719
Move automatic dimension processing inside PCB_DIMENSION_BASE.
Also move dimension precision to an enum so it can get a proper dropdown
in the properties inspector.
3 years ago
jean-pierre charras
a3d834bef1
Step exporter: optimization: export round pad/via shapes as cylinders.
3 years ago
jean-pierre charras
f569cffa8e
Step exporter fixes and enhancements:
- fix duplicate code and a few bugs (some are due to changes in code over the years)
- ADDED: option to export tracks and vias on external layers Exporting tracks is *very* time consuming,
and need a bit of optimization.
3 years ago
jean-pierre charras
67ec09c850
fix a minor compil warning
3 years ago
jean-pierre charras
667acd1149
French translation update
3 years ago
Alex
d2bd7e33b9
Remove extra canvas redraws when changing sheets.
3 years ago
Alex
c1f4911d7e
bom_csv_grouped_extra: use field-specific methods for data.
Fixes https://gitlab.com/kicad/code/kicad/issues/14129
3 years ago
Jeff Young
23accffc6d
Add Property Inspector support for dimension objects.
Includes changing the class hierarchy so that dimension objects inherit
from PCB_TEXT rather than containing a PCB_TEXT member variable.
3 years ago
Jon Evans
610e787ada
Move to requiring explicit action to save project settings
3 years ago
Jon Evans
eba0783b38
Fix rotation/flipping properties for text boxes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14159
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14164
3 years ago
Wayne Stambaugh
4e99812145
Coverity fixes and code cleaning.
3 years ago
Jeff Young
915b352d9b
Add UNITS_CHANGED handling to 3D preview controls.
Fixes https://gitlab.com/kicad/code/kicad/issues/14156
3 years ago
Jeff Young
d714ff8549
Don't commit changes on paint events or updateUI events.
Also use std::numeric_limits::epsilon for comparing doubles.
Fixes https://gitlab.com/kicad/code/kicad/issues/13851
3 years ago
Jeff Young
d1b7fa6b0f
Slight improvement to property grid col widths in SME.
3 years ago
Jeff Young
b6d0b65261
Naming conventions and commenting. No functional changes.
3 years ago
Seth Hillbrand
48740dd3f8
Clean exposure of CONNECTION_SUBGRAPH
Removes internals from public consumption.
3 years ago
Jeff Young
d545216432
Prefer Clamp() to std::min( std::max() ).
3 years ago
Jeff Young
2f2a00c307
Overflow safety.
Potential fix for some or all of
https://gitlab.com/kicad/code/kicad/-/issues/13969
3 years ago
Alex
bfc3e2d29b
Fix bitmap scaling when reading legacy schematic as well.
3 years ago
Seth Hillbrand
59fc62e898
Correct parent symbol for lib_text
The edited symbol should be pulled from the parent window when there is
not an existing text object
3 years ago
Jeff Young
14f1f3ec79
Convert inline models in Sim.Params fields to SPICE syntax.
Fixes https://gitlab.com/kicad/code/kicad/issues/14157
3 years ago
Jeff Young
2fb24347ad
Use resolved fields when generating LIB_TREE info.
Fixes https://gitlab.com/kicad/code/kicad/issues/13737
3 years ago
Jeff Young
be18413a90
Fix typo.
Fixes https://gitlab.com/kicad/code/kicad/issues/14073
3 years ago
Jeff Young
2973d292d9
Handle alternate pin definitions when printing.
Fixes https://gitlab.com/kicad/code/kicad/issues/14122
3 years ago
Jeff Young
5849458476
The screen for undo is the screen that *owns* the SCH_SHEET...
... not the screen the SCH_SHEET owns.
Fixes https://gitlab.com/kicad/code/kicad/issues/14099
3 years ago
Seth Hillbrand
f24deac017
Consider oblong holes with x/y equal size as drills
An oblong hole with drillsizex = drillsizey is the same as a circular
drill hit and should be converted to such in outputs (both excellon and
DRC)
3 years ago
Seth Hillbrand
597ef81e53
Allow micro/buried via holes to be considered
hole_to_hole clearance should account for all holes in the board.
Previously, we had excluded non through holes from this test but that
omits via holes that can still foul a future drill hit.
Designers wanting the old behavior can explicitly set the hole_to_hole
clearance to 0mm for specific ViaType pairs
3 years ago
Mario Luzeiro
7bc976f3f4
3D-Viewer: sort models and material models when rendering in transparent
Also enables transparency on model preview and small optimizations fixes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14005
3 years ago
aris-kimi
0f5ee38ee2
Corrosion table update
3 years ago
Seth Hillbrand
1fda68099f
Prevent inf when presented with 0 errormax
acos(1) returns 0, so this implies infinite segements to get to 0 error.
This is not reasonable but might be encountered in bad arcs or circles
that have 0 radius. Instead of returning infinite or std::max segments,
we limit the error to be at least 1 IU
3 years ago
Jeff Young
f41f04b301
Hook up AddField handler to GRID_TRICKS for SCH dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/git/14153
3 years ago
Jeff Young
7638e23ff1
Add support for non-cardianlly-rotated text boxes.
Also fixes a couple of bugs in text boxes in flipped footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/14112
3 years ago
Wayne Stambaugh
789bf6455a
Coverity fixes and code cleaning.
3 years ago
Jeff Young
dcba555d44
Make SME prop-grid hack Mac-only.
Fixes https://gitlab.com/kicad/code/kicad/issues/13852
3 years ago
Jeff Young
63a545ebfd
We don't need "(gain)" or "(phase)" in names any more.
Fixes https://gitlab.com/kicad/code/kicad/issues/14140
3 years ago