Jeff Young
2b33a03954
Make Edit Text & Graphics dialogs more similar.
...
Also a bunch of cleanup for dialog heading
format and info sizes.
Also fixups for consistency of syntax help
(should be a link, not a button)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20790
2025-04-27 17:34:18 +01:00
Jeff Young
2a2a73a1e9
Don't allow auto-conversion from double to EDA_ANGLE.
...
We have no idea if the double is in radians or
degrees.
2025-04-14 11:52:04 +01:00
jean-pierre charras
848a6b6930
Pcbnew, DIALOG_SHAPE_PROPERTIES: fix an issue noticeable with POLY shapes.
...
After editing a polygon, the pointers m_parent and m_group where cleared.
They are now restored (like for other shapes).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20564
2025-04-06 14:45:42 +02:00
jean-pierre charras
12c82149bf
DIALOG_SHAPE_PROPERTIES: fix wxWidgets debug alert.
2025-04-05 18:11:38 +02:00
Jeff Young
2ce7535318
Stack objects should not have parents or groups.
...
KICAD-KXY
2025-04-01 12:19:50 +01:00
Jeff Young
3f15b0d75b
ADDED: hatched fills for shapes.
2025-02-24 11:08:29 +00:00
Jeff Young
42acb62f6e
Don't disable line styles on filled shapes.
...
It's too much trouble to figure out what the
user wants, and not always right even then.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19946
2025-02-19 23:43:53 +00:00
Jeff Young
6b6729284c
Remove default line styles from all items except eeschema wires and buses.
2025-01-20 11:30:46 +00:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Jeff Young
e164c55bf8
Fix layout issues in shape properties dialog.
...
Also don't show/hide the Net selection; just enable/disable it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19330
2024-12-27 22:21:48 +00:00
John Beard
c9164272ab
Pcbnew: line polar edit: correct endpoint calculation
...
The translation vector went missing so it was wrong for lines
not starting at (0, 0).
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19220
2024-11-29 19:05:40 +08:00
John Beard
7e75fe19de
Pcbnew: mid/endpoint was confusing
...
Technically, any endpoint is equivalent for the
geometry that you get out. But "endpoint" sounds like
it means the point that is not the start point.
So change the tool to explicitly take the start and
midpoint as inputs.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19221
2024-11-29 19:05:40 +08:00
jean-pierre charras
6354f5b6a1
DIALOG_SHAPE_PROPERTIES: fix incorrect display at startup (Windows only)
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19070
2024-11-07 15:10:59 +01:00
John Beard
39528de0a7
Pcbnew: Use RemovePage for shapes properties dialog
...
Hide() doesn't work on Windows, apparently.
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/19070
2024-11-07 21:24:06 +08:00
John Beard
4858994a77
Pcbnew: shape props dialog: avoid slightly fragile index enum
...
If this enum is not in order, it will choose the wrong tabs.
We can get the tab index directly from the sizers by going
to the parent, which makes this process automatic.
The CTRL_IDX orders are still possible to de-sync, but at least
that's all in the file and not split between CPP/FBP files.
2024-11-06 22:24:17 +08:00
John Beard
e0c7fd8ce6
Pcbnew: layout shape properties tabs when shown
2024-11-06 22:19:03 +08:00
Seth Hillbrand
4d25d94076
Fix clang error
...
ambiguous conversion between VECTOR2I and VECTOR2D breaks clang.
Forcing it into integers seems like the right way to go
2024-10-31 12:06:34 -07:00
John Beard
f3056d45f0
Pcbnew: handle polygons not having a panel in the new shape dialog
2024-10-31 23:28:59 +08:00
John Beard
e373af53f7
Pcbnew: normalise spelling of End/Mid Point
...
Not sure which is better, but at least they should be the same.
2024-10-31 23:24:18 +08:00
John Beard
47aeb68937
Pcbnew: allow to set line geometry by midpoint and one end
...
This is especially handy when drawing symmetrical footprints
where you know the endpoint of the line, and you know it's
centred on the x/y axis.
2024-10-31 23:17:07 +08:00
John Beard
58c131efa6
Pcbnew: improve shape edit dialog options
...
Provides options for editing the shapes though entry of
different modes, such as "centre/start/angle" for arcs.
Several new modes are implemented.
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/13356
2024-10-30 09:00:14 +08:00
aris-kimi
36bac3f467
Fix non working Esc when init Polyline Properties dialog.
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18850
2024-10-20 12:00:56 +01:00
Andrzej.W
b49ebaeb16
ADDED: Soldermask layer option for graphic shapes
...
Allows adding a soldermask opening for shapes on a copper layer.
Soldermask expansion can also be specified.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2125
2024-10-10 12:46:06 +00:00
Jeff Young
1f0ce80f49
Don't commit properties if we're in a drawing operation.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18018
2024-07-22 16:28:25 +01:00
Seth Hillbrand
bcf6b620a8
Large rework of BEZIER_POLY
...
Add direct handling of quadratic beziers to save compute time and number
of points. Update cubic interpolation to reduce number of points
generated for a given smoothness
Cache data on open and used cached data to avoid multiple re-calcs
Remove minimum line length and number of segments and replace with
standard max error level. Allows us to specify the tolerance of bezier
interpolation
2024-06-18 17:55:41 -07:00
Jeff Young
b2588e0bbf
Footprint Editor doesn't have nets.
...
(Copper shapes, on the other hand, can. Since we use
GetItemDescription() to report DRC errors and the like,
it's better to have it report the net even when it's
<no net>.)
2024-06-14 22:46:29 +01:00
Jeff Young
fa0ead98d8
Split out table editing and table cell editing.
2024-02-24 20:05:51 +00:00
Ian McInerney
b86bf19328
Make shape properties layer selection obey cancel command
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16735
2024-02-13 20:31:05 +00:00
Marek Roszko
4b12534dbd
Fix property editor for graphic circles
2024-01-30 22:00:09 -05:00
Marek Roszko
f63c7806fd
More bitmap bundle comboboxes
2024-01-21 22:55:13 -05:00
Jeff Young
df83e24eb7
Cleanup.
...
It's been a long time since line style was specific to plotting.
2023-11-25 13:12:45 +00:00
Ian McInerney
9f21d0d719
Don't hardcode units for length/height/width in properties dialog
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15967
2023-10-27 23:58:29 +01:00
Jeff Young
58889f8120
Improve shape properties dialog layout.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15683
2023-09-19 17:04:05 +01:00