mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-12-06 05:19:25 -05:00
feat(planner): order a part's holes by the heat start limit
Dense hole patterns heat one area when cut row after row, and the part order cannot spread that heat. With the limit on, a part's holes follow the same start rule, lattices in strided rows; jumps over cut holes are emitted head up and counted as heat raises. On a vent-pan nest the hottest zones fell 43% for 3% more cut time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4a5c96f011
commit
2c9b458761
10 files changed
+243
-11
No files matched your search
@@ -943,6 +943,16 @@ ready.
|
||||
longer decide whether the lattice gets the line order. A plate whose lattice parts take part in
|
||||
a required order, or whose other parts are nested in one another or are cut-offs, keeps the
|
||||
rules above. See [grid strides and clusters](plate-heat-map.md#grid-strides-and-clusters).
|
||||
- Holes: a part's holes follow the same rule inside the part (`CuttingHoleOrder.PlanHeat`), with
|
||||
the plain hole tour as the order walked and an estimate holding that part's holes alone, from
|
||||
when the tool reaches it. Holes forming a lattice of at least 200 are cut as strided lines like
|
||||
a grid's, each from its nearer end; fewer go one by one. A move whose straight rapid passes over
|
||||
a hole already cut (its box widened by the largest hole's half-size, since the tool leaves a hole
|
||||
from its edge) is a jump: that hole's `ContourChoice.RaisesArrival` is set and emission writes
|
||||
`HEAD RAISE` before its rapid or sub-program call, so the search, replay and posts all treat its
|
||||
crossings as raised. The rapid from the last hole onto the perimeter is raised the same way when it
|
||||
passes over a hole. These raises are counted in `HeatRaises` and noted as raised over holes
|
||||
already cut. See [hole order](plate-heat-map.md#hole-order).
|
||||
|
||||
A leg of the plain order is checked for crossings only against parts the rule cut ahead of it
|
||||
and parts cut before a re-plan; the plain order's own legs over parts it cut in order are the
|
||||
|
||||
+24
-2
@@ -122,8 +122,8 @@ bed, and its heat label says whether the sheet is cooled by air only or by air a
|
||||
|
||||
Plan Cutting's part order keeps work from starting where the sheet is hot when the cutting
|
||||
parameters set `HeatStartLimit` (an estimated temperature rise in °C, 0 = off, saved per material
|
||||
and thickness on the Tabs & Pierce tab as "Don't start above (°C rise)"). Before each part, or
|
||||
each line of a large grid, the order estimates the temperature where it starts: the tour's next
|
||||
and thickness on the Tabs & Pierce tab as "Don't start above (°C rise)"). Before each part, each
|
||||
line of a large grid, or each hole or row of holes in a part ([hole order](#hole-order)), the order estimates the temperature where it starts: the tour's next
|
||||
piece when that is at or under the limit, else the nearest under it, else the coolest. A move
|
||||
across parts already cut raises the head (`HEAD RAISE`, counted as heat raises). See
|
||||
[heat start limit](cutting-planner.md#heat-start-limit). This simulation only scores finished
|
||||
@@ -198,6 +198,28 @@ the limit off. Leaving the part just cut out of the estimate (the heat right beh
|
||||
was tried for single parts and dropped: it halved the raises on the thin sheet but left the
|
||||
starts' P90 at 32–36 °C, where counting it brings them to about 3 °C.
|
||||
|
||||
### Hole order
|
||||
|
||||
The part order cannot cool a part whose own holes hold most of its heat. On P241017-01 (three
|
||||
bakery vent pans of 1,709 0.25 in holes each, 1 in apart in staggered rows 0.75 in apart, beside
|
||||
ten small squares; 0.06 in mild steel), the plain hole tour cuts row after row and the part-level
|
||||
limit alone moved the hottest zones by 2%. With the limit on, each part's holes are walked by the
|
||||
same rule ([heat start limit](cutting-planner.md#heat-start-limit)): lattices in strided rows, the
|
||||
jumps across cut holes made head up. `HeatOrderMeasurementTests` also reports the mean temperature
|
||||
within 0.5 in of every pierce when it starts. Default timing, 20 °C limit:
|
||||
|
||||
| Order | Zone P95 | Zone P75 | Pierces median / P90 / P99 / max | Travel | Cut time | Heat raises |
|
||||
|-------|----------|----------|----------------------------------|--------|----------|-------------|
|
||||
| Off | 248 | 211 | 70 / 119 / 148 / 189 | 4,406 | 6,595 s | 0 |
|
||||
| Parts only (before holes were ordered) | 243 | 211 | | 4,506 | 6,615 s | 6 |
|
||||
| Rows, not strided (1x1) | 156 | 138 | 38 / 50 / 52 / 121 | 5,146 | 6,743 s | 20 |
|
||||
| Every 3rd row (the default) | 142 | 120 | 18 / 38 / 80 / 121 | 5,411 | 6,796 s | 65 |
|
||||
| Every 4th row | 133 | 104 | 10 / 29 / 71 / 121 | 5,335 | 6,781 s | 76 |
|
||||
|
||||
Every plan was Ready with no fallback raise, planned in about 3 s. The 3rd-row stride cuts the hottest
|
||||
zones by 43% and the median pierce from 70 to 18 °C for 3% more cut time; the stride is the grid's
|
||||
(`CuttingGridStride.Current`), so `OPENNEST_HEAT_STRIDES` compares both together.
|
||||
|
||||
### Grid strides and clusters
|
||||
|
||||
The line rule tests only where a line starts. On N26-2F2 (666 parts, 659 of them 1.15 x 0.75 in
|
||||
|
||||
Reference in new issue
Block a user