Files
OpenNest/docs/plate-heat-map.md
T
ajandClaude Opus 5.5 97055c98be feat(sequencing): add a parked heat-aware part sequencer
Add SequenceMethod.HeatAware (100, outside PEP's numbering) and
SequenceParameters.HeatWeight. HeatAwareSequencer orders parts forward
by travel seconds plus the weight times the heat estimated where each
part is cut, from HeatSpreadEstimate: a Gaussian blob per finished part
that widens with conduction and fades with surface loss. Without a
thickness it is nearest neighbor. PlateSequencing.Apply takes the
sheet's thermal parameters for it and still places cut-offs as before.

The method and weight persist in the cutting settings DTO. Plan Cutting
does not use the method and no UI offers it: its strict search refuses
rapids over parts cut free, so a heat-spreading order needs 53-78 head
raises per plate on the measured nests. docs/plate-heat-map.md records
the numbers; revisit once thermal readings calibrate the model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:47:18 -05:00

5.1 KiB
Raw Blame History

Plate heat map

OpenNest.Core/CNC/Thermal/PlateHeatSimulation.cs estimates how heat builds up in the sheet while a cut simulation plays. The Cut Simulator shows it under the cut trail (Heat: Now or Peak so far). It is a display and analysis aid and never changes the plate; a parked heat-aware sequencer uses a cheaper estimate of the same physics.

Model

  • A grid over the plate's bounds, 0.5 in (12 mm) cells by default, made coarser on sheets that would need more than 400,000 cells. Each cell holds its temperature rise above ambient.
  • Heat in: while the torch is on (cuts and pierces), AbsorbedPower watts go into the cell under the torch, in proportion to the time spent there. Scribes add nothing.
  • Conduction: explicit finite differences between the four neighbors of the same piece, with the time step kept below the stability limit and at most 1 s. Sheet edges are insulated.
  • Loss: convection from both faces at SurfaceCoefficient (W/m²·K).
  • Pieces: when a closed contour finishes, a cutout (an interior contour by the CI Fiber rule the timeline already uses) removes its slug's cells and their heat; a part's outside contour separates its cells from the skeleton, so no heat crosses the kerf. Only skeleton cells change, so a part nested in a cutout stays its own piece. Open contours (cut-offs, breaks) change nothing.
  • Material from the nest's material name and grade (ThermalMaterial.ForName: stainless, aluminum, otherwise mild steel); thickness from the nest.

Not modeled: radiation, heat into the slats, pierce power differing from cutting power, the heat carried off by the melt beyond AbsorbedPower, kerf width and warping. The absorbed power (1000 W by default) is an uncalibrated guess, so the temperatures are relative; use them to compare cut orders of one plate, not as real values.

Display

The simulator colors the field against the 99.5th percentile of the whole cut's peaks: a pierce puts its energy into a single cell, and scaling to that cell would hide the areas where heat builds up. Cells whose slug fell away are transparent.

Sequencing

SequenceMethod.HeatAware (100, outside PEP's 1-8 numbering) is a heat-aware part sequencer, parked until thermal-camera readings calibrate the model. It is available to PlateSequencing.Apply(plate, parameters, thermal) only: Plan Cutting does not use it, and no UI offers it. The method and SequenceParameters.HeatWeight (seconds per °C, 0.15 by default) are saved with the cutting settings.

  • Order (OpenNest.Engine/Sequencing/HeatAwareOrder.cs): a forward greedy from the plate's origin corner. The next part is the one with the least travel seconds plus HeatWeight times the estimated temperature at its center when the tool gets there. Cut-offs go last in its route, and OrderCutOffsFirst places them as for every method. Without a thickness it is nearest neighbor.
  • Estimate (HeatSpreadEstimate): each finished part leaves a Gaussian blob of its energy (AbsorbedPower times its torch-on time), as wide as the part to begin with (a quarter of its squared diagonal), widening by 4αΔt and fading with the surface loss; only the latest 200 parts count. Torch-on time comes from each part's cut length and pierces at stand-in feeds by thickness: 400 in/min up to 0.135 in, 150 up to 0.26 in, 80 above, a 0.5 s pierce up to 0.26 in and 1.5 s above, and 3000 in/min travel.

Why it is parked: Plan Cutting does not follow SequenceMethod. It plans its own shortest tour (nearest neighbor, 2-opt, Or-opt), which already travels a fraction of the row-based Advanced sequencer's distance, so the heat order's travel savings over Advanced do not carry over. And its strict search refuses head-down rapids over parts already cut free. A heat-spreading order skips neighbors and comes back to them across cut parts, so the search stalls, learns rules, and ends on its shortest tour or the safest-route fallback; a heat order used only where it does not stall moved the zone metric by noise (±3-5%). Kept as given through Plan Cutting, the heat order does spread the heat, at this cost against the planned shortest tour (2ER and N26-2GT, weights 0.1-0.4, stand-in feeds):

Plate Travel Cut time Head raises (tour: 0) Zone P95 Zone P75
2ER plate 1 (130 parts, 0.25 in) +52 to +82% +0.8 to +1.2% 59-78 −14 to −18% −18 to −23%
N26-2GT plate 1 (112 parts, 0.09 in) +50 to +65% +2.3 to +3.1% 54-62 −24 to −25% −26 to −28%
N26-2GT plate 2 (148 parts, 0.09 in) +64 to +102% +1.8 to +2.8% 53-75 −12 to −20% −18 to −24%

The zone metric is the hottest average over each 4 in square during the cut, as a percentile over zones; pierces and hole clusters inside one part set the hottest cell whatever the order. The head raises are the safest-route fallback's last-resort markers, which the strict search never adds, so a heat order that spreads heat would need designed head raises (or rapids routed around cut parts). Revisit once the absorbed power and feeds are calibrated.