From a937027174fbb52a09f8ed255a136d7371972d07 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Mon, 23 Nov 2026 17:20:14 -0500 Subject: [PATCH] =?UTF-8?q?docs(labels):=20add=20the=20bend-group=20diagra?= =?UTF-8?q?m=20and=20the=205=C2=B0=20A/B=20tolerance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bend-group letters were described only in prose, which is hard to picture; a diagram of each letter's direction against the grain makes them easy to read. The doc also never said A and B allow 5° either way, or that a bend just past that goes to the neighboring step. The diagram is SVG so it diffs and renders on GitHub. Co-Authored-By: Claude Opus 5.5 --- docs/images/bend-groups.svg | 72 +++++++++++++++++++++++++++++++++++++ docs/label-box.md | 19 ++++++---- 2 files changed, 85 insertions(+), 6 deletions(-) create mode 100644 docs/images/bend-groups.svg diff --git a/docs/images/bend-groups.svg b/docs/images/bend-groups.svg new file mode 100644 index 00000000..37368274 --- /dev/null +++ b/docs/images/bend-groups.svg @@ -0,0 +1,72 @@ + + Bend group letters by bend line direction against the sheet grain + + Bend line direction against the grain + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 15° + 30° + 45° + 60° + 75° + 105° + 120° + 135° + 150° + 165° + + + + C + D + E + F + G + H + I + J + K + L + + + A + B + B + + + across the grain, within 5° + with the grain, within 5° + + + + + + GRAIN + diff --git a/docs/label-box.md b/docs/label-box.md index fa1f1850..60e8a115 100644 --- a/docs/label-box.md +++ b/docs/label-box.md @@ -102,12 +102,19 @@ A `labelMode` number that names no choice (the reader accepts numbers) loads as - **Bend groups.** A bend's group is its line's direction against the sheet grain in 15° steps (`BendGrain.Bucket`, bend line plus the part's rotation against `Plate.GrainAngle`), named by a fixed letter so a group means the same thing on every part and sheet: **A** across the grain, - **B** with it, then **C** to **L** for the steps between, in bucket order from the grain. The - letter does not say which way a part bends. It says how the grain runs against its bends, which - changes springback and so the angle correction at the press brake: bends with the same letter - take the same correction and can be formed together. The letters depend on how the part is - rotated on the sheet, which is why the text is made when cutting is planned, not stored with the - box. + **B** with it, each within 5° (`BendGrain.AngleTolerance`), then **C** to **L** for the steps + between, counterclockwise from the grain. A bend just past 5° goes to the neighboring step on its + own side, never to A or B, and a bend 30° one way and one 30° the other way get different letters + (D and K). A part whose bends fall in several groups lists each once, in alphabetical order. + The letter does not say which way a part bends. It says how the grain runs against its bends, + which changes springback and so the angle correction at the press brake: bends with the same + letter take the same correction and can be formed together. The letters depend on how the part + is rotated on the sheet, which is why the text is made when cutting is planned, not stored with + the box. + + ![Bend group letters: A across the grain and B with it, each within 5°; C to G at 15° to 75° + and H to L at 105° to 165°, counterclockwise from the grain](images/bend-groups.svg) + - **Font.** `StrokeFont` is a small built-in single-stroke font (digits, capitals, `- _ . /`), so the label needs no font file. Strokes are lines and arcs: the round digits (0, 2, 3, 5, 6, 8, 9) are drawn on arcs and etch as arc moves; the zero keeps its slash so it never reads as the letter