Sheet metal: two corner reliefs that would overlap are both left out (#3421)

The two reliefs that would overlap are still resolved one after the other: the
second one is left out, with a note. The corners come out in flange-index
order, so which of the two keeps its relief depends on the order the flanges
were made in.

Two corners that share an edge never come this far: each relief reaches
exactly r along that edge, and a relief is refused unless 2r fits in it. Two
corners that do not share one can: the square relief at a corner of 120°
reaches 2r from it along the bisector, so at the two 120° corners opposite
each other in a rhombus the two reach each other.

Two reliefs that would overlap are now left out together, each with a note
naming the other, so that which of them is cut does not depend on the order
the flanges were made in.

Fixes #3417.

Co-authored-by: jeremymiribung-blip <jeremymiribung-blip@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
JEREMY
2026-10-20 11:21:29 +00:00
committed by GitHub
parent d60b438f42
commit 3855c4c7e2
2 changed files with 65 additions and 17 deletions
+3 -3
View File
@@ -57,9 +57,9 @@ square the round follows the angle of the base and the square becomes a kite, it
square to the edges. Changing the shape in a rule changes the parts made with that rule. A
relief that doesn't fit (under 0.01 mm across, leaving nothing of a bend, or reaching as far
from its corner as another edge of the base is) is left out, and the flange feature reports a
warning saying where. The reliefs at the corners of one edge are cut together, so a corner's
relief does not depend on the order the corners are cut in; two of them that would overlap
leave the second one out, with a warning.
warning saying where. The reliefs at all the corners are cut together, so a corner's relief
does not depend on the order the corners are cut in; two of them that would overlap are both
left out, each with a warning saying which the other is.
```json
{"command":"sheet.manage_rules","params":{"name":"Sheet 2 mm","thickness":"2 mm","k_factor":0.5,