fix(qwen38flashnext): number plates in commit order and drop etch marks
BuildResult set PlateIndex to the stock index, so every sheet cut from the same stock shared one index; OpenNest.Api maps plates by it. Part geometry filtered only rapids, so scribe/etch moves counted as material - the bug OpenNest fixed in 1b5e1b1. Use SpecialLayers.IsMaterial. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,7 +78,7 @@ internal sealed class PartModel
|
||||
DrawingJobMapper.ToProgram(part.Geometry)
|
||||
)
|
||||
)
|
||||
if (!ReferenceEquals(entity.Layer, SpecialLayers.Rapid))
|
||||
if (SpecialLayers.IsMaterial(entity.Layer))
|
||||
entities.Add(entity);
|
||||
if (entities.Count == 0)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user