feat(engine): expose JobPartGeometry for reading snapshot material

Every plugin engine rebuilt part material from a snapshot by hand and
filtered only rapids, so all three kept counting scribe/etch marks as
material after 1b5e1b1 fixed it in the host. JobPartGeometry is the
validator's own reader made public: SpecialLayers.IsMaterial, validated
closed contours, material area, and TryRead returning null for unreadable
parts. The job validators now use it, so engines and validation agree.

Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
aj
2026-09-25 08:12:07 -04:00
co-authored by Codex Claude Opus 5.5
parent 6ab45e6de7
commit ae2b0beb45
4 changed files with 414 additions and 216 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ public static class NestJobValidator
);
try
{
NestJobPlacementValidator.ValidateGeometry(part.Geometry);
_ = JobPartGeometry.Read(part.Geometry);
}
catch (ArgumentException exception)
{