Lam Wei Lun
1de01873ae
Fix mouse ear brim missing at a rounded corner depending on object orientation ( #17163 )
...
Mouse ear placement no longer depends on where the outline starts. The old code simplified the outline with Douglas-Peucker, which is anchored on its first vertex, so rotating a part changed which rounded corners got an ear.
make_brim_ear_points() now measures the turn at each vertex over a window of arc length on both sides, and doubles the window while the outline keeps turning. Corners with large fillets now get an ear at the default settings. A candidate whose window already reached a placed ear is dropped, so a sharp corner next to a curve gets one ear. The Brim Ears tool's Auto-generate uses the same function.
Behavior change: a smooth closed outline such as a disc gets no ears at the default 125 degree max angle. Raising the max angle to 135 or more still gives it ears.
Fixes #17119
2026-11-19 08:01:51 -06:00
..
2026-11-19 08:01:51 -06:00
2026-10-03 13:45:21 +08:00
2026-11-19 07:52:31 -06:00
2026-10-05 16:47:17 +08:00
2026-10-19 12:05:55 -03:00
2026-11-07 14:24:08 -06:00
2026-11-10 20:30:37 -06:00
2026-11-18 14:04:54 +08:00
2026-11-17 22:07:31 -06:00
2026-10-04 14:50:15 +08:00
2026-10-03 13:45:21 +08:00
2026-10-05 23:06:01 -05:00
2026-11-19 08:01:51 -06:00
2026-10-05 16:47:17 +08:00
2026-11-14 10:47:42 -06:00
2026-11-17 08:36:13 -03:00
2026-10-03 13:45:21 +08:00
2026-11-14 10:47:42 -06:00
2026-11-13 16:00:08 +08:00
2026-11-14 10:47:42 -06:00
2026-10-21 22:12:48 +08:00
2026-10-26 22:45:30 +08:00
2026-11-11 18:36:58 +08:00
2026-10-03 13:45:21 +08:00
2026-10-19 20:44:24 -05:00
2026-10-03 13:45:21 +08:00
2026-11-17 10:20:41 +08:00
2026-10-27 18:33:28 -05:00
2026-11-17 09:54:18 -03:00
2026-11-17 09:54:18 -03:00
2026-10-04 14:50:15 +08:00
2026-10-10 16:03:34 -03:00
2026-11-14 10:47:42 -06:00
2026-11-14 10:47:42 -06:00
2026-10-13 10:53:57 -03:00
2026-11-14 10:47:42 -06:00
2026-11-03 14:14:17 +08:00
2026-10-26 15:01:47 -03:00
2026-10-05 21:49:32 -03:00
2026-10-11 22:36:16 -03:00
2026-10-20 18:24:23 +08:00
2026-10-30 22:00:00 -05:00
2026-10-31 20:35:45 +08:00
2026-10-07 14:22:32 +08:00
2026-11-16 18:35:55 -03:00
2026-10-12 21:59:17 -03:00
2026-11-01 14:20:34 -06:00
2026-11-06 16:44:11 -06:00
2026-10-16 18:47:49 +08:00
2026-11-11 19:32:58 -03:00
2026-10-05 16:47:17 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-05 16:47:17 +08:00
2026-10-19 15:53:32 -03:00
2026-11-12 10:38:03 -03:00
2026-10-03 13:45:21 +08:00
2026-11-11 19:18:28 -03:00
2026-10-26 13:45:55 -05:00
2025-12-08 22:42:11 +08:00
2026-10-09 11:52:55 +08:00
2026-10-05 16:47:17 +08:00
2026-10-05 16:47:17 +08:00
2026-10-05 14:19:47 +08:00
2026-11-14 10:47:42 -06:00
2026-11-10 18:34:50 -06:00
2026-10-29 07:01:55 -05:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-29 13:37:23 +08:00
2026-10-24 11:10:48 -03:00
2026-11-16 19:30:35 +08:00
2026-10-19 15:53:32 -03:00
2026-10-05 16:47:17 +08:00
2026-10-05 18:29:35 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-11-12 02:34:10 +08:00
2026-10-03 13:45:21 +08:00
2026-11-03 14:14:17 +08:00
2026-10-05 14:19:47 +08:00
2026-10-22 18:27:32 +08:00
2026-10-24 16:11:01 -05:00
2026-11-01 17:54:09 +08:00
2026-11-04 21:45:25 +08:00
2026-10-28 10:06:29 -05:00
2026-10-03 13:45:21 +08:00
2026-10-04 14:50:15 +08:00
2026-11-14 10:46:49 -06:00
2026-11-14 10:47:42 -06:00
2026-11-14 10:47:42 -06:00
2026-11-03 21:41:16 -03:00
2026-10-22 13:19:51 +08:00
2026-10-05 16:47:17 +08:00
2026-10-19 20:30:03 -03:00
2026-10-19 20:30:03 -03:00