Seth Hillbrand
2321285c16
Maybe don't need eary exit here
2025-08-31 08:11:44 -07:00
Seth Hillbrand
2cdeb0cd7c
Second pass at fixing warping and grids
...
First attempt caused additional problems for #21535
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18196
2025-08-31 07:54:21 -07:00
Seth Hillbrand
4af585c531
Revert "Remove the forced ancillary grid"
...
This reverts commit 29dc45d584a882866f2f3f27a7257481043ecc84.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21535
2025-08-31 07:54:12 -07:00
Seth Hillbrand
8c6f057f6c
Re-organize points to allow missing radius
...
Not all rectangles want/need the radius point, but we will only be able
to drag one point at a time. So we re-organize which point of an
overlapping set is selected
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21605
2025-08-31 07:10:14 -07:00
Jeff Young
9d7db3d135
Better interactive feedback.
...
Don't wait for mouse to move before refreshing after a command.
Also fixes a crash bug deleting an item after an
Unstage() (the Unstage() has already deleted the item).
Also fixes a crash when changing label type during
creation of a label produces a mess.
Also Keep cursor aligned to grid when not warping
back to original point.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16828
2025-08-31 14:25:52 +01:00
Seth Hillbrand
b22f259ccb
Make properties panel obey free pads setting
...
Pads should almost never be moved without their parent. Only allow this
in the case where free pads has explicitly been checked
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21591
2025-08-31 06:08:27 -07:00
Seth Hillbrand
b86cddbbe9
Fix RRECT handling in processClosedShape
2025-08-31 05:43:59 -07:00
Seth Hillbrand
053c46aa72
Add last point in 3d export
2025-08-31 05:29:37 -07:00
jean-pierre charras
4610a49323
Fix round rect shape STEP export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21599
2025-08-31 12:43:40 +02:00
jean-pierre charras
68f9b74ae9
SHAPE RECTANGLE: fix hatching clipping for round rectangle.
2025-08-31 10:05:21 +02:00
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
2025-08-30 20:57:41 +00:00
Jeff Young
be57c1a380
Fix undo for rounded rects.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21595
2025-08-30 21:16:47 +01:00
Jeff Young
194b7f9dc5
Add corner radius to Shape Properties dialog.
2025-08-30 20:45:02 +01:00
Jeff Young
c6fcf7e0b8
Allow easier code searching for property names.
2025-08-30 19:09:15 +01:00
Mark Roszko
cf09e8ae88
Adjust flags for dynamicdeopt to build
2025-08-30 13:46:38 -04:00
Mark Roszko
1ff5f09c3a
Add cmake flag for enabling MSVC Dynamic Debugging in release
2025-08-30 13:35:40 -04:00
jean-pierre charras
7610c02fed
3D view: honor round rectangle shape.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21597
2025-08-30 18:51:43 +02:00
Jeff Young
7fd8b515b5
Prefer const&.
2025-08-30 17:45:49 +01:00
Jeff Young
ba84f50997
Commenting.
2025-08-30 17:45:49 +01:00
Jeff Young
acc7b1e508
ADDED: separate front/back silk and mask colours for STEP export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21593
2025-08-30 17:45:49 +01:00
Jeff Young
67feb2e139
Performance tweaks.
2025-08-30 17:45:49 +01:00
Jeff Young
6f59821930
Prefer const &.
2025-08-30 17:45:49 +01:00
jean-pierre charras
6592c75345
fix issues in ROUNDRECT. This also fix a change commit by mistake in aeafbe48
...
Fix incorrect ROUNDRECT Ctor. It also fixes a link issue on msys2
- Do not throw an error in CTor: this is not the place. It is much easy to
fix the value of incorrect radius.
Moreover, the Ctor is called without catching a throw-ed error in code.
- fix the test about radius validity, broken.
2025-08-30 17:35:26 +02:00
Seth Hillbrand
1a3f6028f8
Fix missed last points
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21596
2025-08-30 08:33:46 -07:00
Seth Hillbrand
fe4ddc66eb
Limit radius in more places
2025-08-30 08:19:35 -07:00
Seth Hillbrand
e3b550dd13
Add a little radius helper
...
When rounding a rectangle, add a helper that shows the current radius
2025-08-30 08:19:35 -07:00
Mark Roszko
1baa28a1e6
Kick out more strtod. Actually should have used parseDouble from DSNLEXER years ago.
2025-08-30 10:46:06 -04:00
Seth Hillbrand
0f1b514964
Handle corner radius in Create from selection
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21601
2025-08-30 07:33:30 -07:00
jean-pierre charras
aeafbe48fe
Step exporter: fix overzealous validity test.
...
When converting poly shapes with arcs in STEP_PCB_MODEL::MakeShapes,
when an error happens, a second try is made using a full polygonal shape.
However a fatal error was emitted at the first attempt, before the second try.
Now at first try, only a debug message is emitted on error. The fatal error
is emitted only if the second try fails.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21589
2025-08-30 12:58:56 +02:00
Mark Roszko
2b8542861c
Missed a strtod in kicad legacy pcb parsing
2025-08-30 06:57:48 -04:00
Mark Roszko
9dd642b66c
Kick out strtod in legacy parsers
2025-08-29 23:38:00 -04:00
Mark Roszko
d5c0d040b4
Add missing fast_float files
2025-08-29 22:18:08 -04:00
Mark Roszko
b3de964eff
Add fast_float for float parsing.
...
2x faster than both std::from_chars and strtod on Windows.
macOS will get to benefit from a modern from_chars impl too.
2025-08-29 21:48:24 -04:00
Seth Hillbrand
8acf5c1a25
ADDED: Rounded Rectangles
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4742
2025-08-29 17:37:30 -07:00
Seth Hillbrand
e282dca102
Add configurable hysteresis to PCB snapping
...
Makes it harder to enter and harder to exit a snap. ideally this should
help make snapping more intuitive and easier to use. Once you have a
snap, it is harder to lose it but it avoids being overly snappy in the
begining
2025-08-29 16:21:35 -07:00
Seth Hillbrand
a811f61c39
Make Expand Connection respect the filter
...
Prevents expansion that would require traversing elements that are
disabled in the selection filter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21581
2025-08-29 16:11:38 -07:00
Seth Hillbrand
50274352b1
Skip exterior segments when splitting
...
We need to avoid fracture points when choosing how to split exterior
segments
2025-08-29 15:50:34 -07:00
Seth Hillbrand
ec7b831be3
ADDED: Search feature for html message box
...
Allow search for text in e.g. the custom rules examples
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21550
2025-08-29 10:29:11 -07:00
Jeff Young
9525fae7c8
Run collision check on correct layer.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21586
2025-08-29 17:13:16 +01:00
Seth Hillbrand
e8cec41355
ADDED: Indication of filter blocking
...
If the selection filter has blocked all selections under the cursor,
show a subtle flash on which filter(s) did the blocking. Helpful for
people getting frustrated by not being able to select locked items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20487
2025-08-29 07:08:27 -07:00
Jeff Young
8a60893249
Regularize content of item descriptions.
...
1) Use sentence capitalisation
2) Show text of text items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21582
2025-08-29 12:03:55 +01:00
Mark Roszko
7115f9e716
Drop the FromChar in ConvertNotation
2025-08-28 18:27:06 -04:00
Jeff Young
736d87aa35
ADDED: directive labels checkbox to Schematic Editor Display Settings panel in Preferences.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21577
2025-08-28 17:49:06 +01:00
Jeff Young
eb6b2de648
Fix for the fix (for clang).
2025-08-28 13:20:20 +01:00
Jeff Young
83fab7b02c
Fix undo for move of group-of-shapes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21563
2025-08-28 13:20:14 +01:00
Mark Roszko
af852ea15d
Protect from_chars from clang
2025-08-28 07:11:08 -04:00
Mark Roszko
fd57f637ac
Revert "Compilers should have complete from_chars support now"
...
This reverts commit 3a8dd87db4513b7c7ede748a4f30ef5192e1752b.
2025-08-28 07:07:44 -04:00
Jeff Young
5c240efd75
Consolidate to single copy of deletableItems.
2025-08-28 11:54:24 +01:00
Mark Roszko
b01c1f39c1
Add missing header
2025-08-28 01:22:08 +00:00
Mark Roszko
3e019ee4ae
pcb plots dont need LOCALE_IO anymore
2025-08-27 20:44:16 -04:00