mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-25 10:07:40 -05:00
docs(labels): add the bend-group diagram and the 5° A/B tolerance
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
2999507559
commit
a937027174
2 files changed
+85
-6
No files matched your search
@@ -0,0 +1,72 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 390" width="600" height="390" font-family="Segoe UI, Helvetica, Arial, sans-serif">
|
||||
<title>Bend group letters by bend line direction against the sheet grain</title>
|
||||
<rect width="600" height="390" rx="12" fill="#ffffff"/>
|
||||
<text x="300" y="32" text-anchor="middle" font-size="16" font-weight="bold" fill="#1b3350">Bend line direction against the grain</text>
|
||||
|
||||
<!-- A and B tolerance wedges (within 5 degrees) -->
|
||||
<g fill="#1e8a4c" fill-opacity="0.15">
|
||||
<path d="M300,300 L317.4,100.8 A200,200 0 0,0 282.6,100.8 Z"/>
|
||||
<path d="M300,300 L500,300 A200,200 0 0,0 499.2,282.6 Z"/>
|
||||
<path d="M300,300 L100.8,282.6 A200,200 0 0,0 100,300 Z"/>
|
||||
</g>
|
||||
|
||||
<!-- 15 degree steps -->
|
||||
<g stroke="#9aa3ad" stroke-width="1.5" stroke-dasharray="6 5">
|
||||
<line x1="300" y1="300" x2="493.2" y2="248.2"/>
|
||||
<line x1="300" y1="300" x2="473.2" y2="200"/>
|
||||
<line x1="300" y1="300" x2="441.4" y2="158.6"/>
|
||||
<line x1="300" y1="300" x2="400" y2="126.8"/>
|
||||
<line x1="300" y1="300" x2="351.8" y2="106.8"/>
|
||||
<line x1="300" y1="300" x2="248.2" y2="106.8"/>
|
||||
<line x1="300" y1="300" x2="200" y2="126.8"/>
|
||||
<line x1="300" y1="300" x2="158.6" y2="158.6"/>
|
||||
<line x1="300" y1="300" x2="126.8" y2="200"/>
|
||||
<line x1="300" y1="300" x2="106.8" y2="248.2"/>
|
||||
</g>
|
||||
|
||||
<!-- With the grain (B) and across it (A) -->
|
||||
<g stroke="#1e8a4c" stroke-width="4">
|
||||
<line x1="100" y1="300" x2="500" y2="300"/>
|
||||
<line x1="300" y1="300" x2="300" y2="100"/>
|
||||
</g>
|
||||
|
||||
<g font-size="11" fill="#6b7580" text-anchor="middle" dominant-baseline="middle" stroke="#ffffff" stroke-width="4" paint-order="stroke">
|
||||
<text x="454.5" y="258.6">15°</text>
|
||||
<text x="438.6" y="220">30°</text>
|
||||
<text x="413.1" y="186.9">45°</text>
|
||||
<text x="380" y="161.4">60°</text>
|
||||
<text x="341.4" y="145.5">75°</text>
|
||||
<text x="258.6" y="145.5">105°</text>
|
||||
<text x="220" y="161.4">120°</text>
|
||||
<text x="186.9" y="186.9">135°</text>
|
||||
<text x="161.4" y="220">150°</text>
|
||||
<text x="145.5" y="258.6">165°</text>
|
||||
</g>
|
||||
|
||||
<g font-size="17" font-weight="bold" fill="#1b3350" text-anchor="middle" dominant-baseline="middle">
|
||||
<text x="517.3" y="241.8">C</text>
|
||||
<text x="494.9" y="187.5">D</text>
|
||||
<text x="459.1" y="140.9">E</text>
|
||||
<text x="412.5" y="105.1">F</text>
|
||||
<text x="358.2" y="82.7">G</text>
|
||||
<text x="241.8" y="82.7">H</text>
|
||||
<text x="187.5" y="105.1">I</text>
|
||||
<text x="140.9" y="140.9">J</text>
|
||||
<text x="105.1" y="187.5">K</text>
|
||||
<text x="82.7" y="241.8">L</text>
|
||||
</g>
|
||||
<g font-size="20" font-weight="bold" fill="#1e8a4c" text-anchor="middle" dominant-baseline="middle">
|
||||
<text x="300" y="72">A</text>
|
||||
<text x="525" y="300">B</text>
|
||||
<text x="75" y="300">B</text>
|
||||
</g>
|
||||
<g font-size="11" fill="#6b7580" dominant-baseline="middle">
|
||||
<text x="300" y="52" text-anchor="middle">across the grain, within 5°</text>
|
||||
<text x="490" y="316" text-anchor="end">with the grain, within 5°</text>
|
||||
</g>
|
||||
|
||||
<!-- Grain direction -->
|
||||
<line x1="120" y1="345" x2="470" y2="345" stroke="#1b3350" stroke-width="2.5"/>
|
||||
<path d="M490,345 L468,336 L468,354 Z" fill="#1b3350"/>
|
||||
<text x="300" y="372" text-anchor="middle" font-size="13" font-weight="bold" fill="#1b3350">GRAIN</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
+13
-6
@@ -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.
|
||||
|
||||

|
||||
|
||||
- **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
|
||||
|
||||
Reference in new issue
Block a user