Add six-view LLM-oriented summary mode for aetheris analyze map#788
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
SixViewMapResult,SixViewMapView,SixViewMapSummary,DominantBand, andCompactGridinAetheris.CLI/StepAnalysisModels.csto represent per-view summaries and compact ASCII grids.AnalyzeSixViewMapSummaryandAnalyzeImportedBodySixViewMapSummaryinAetheris.CLI/StepAnalyzer.cs, which call the existing ray-map backend per orthographic view and build per-view summaries viaBuildSixViewSummary,BuildDominantBands,BuildCompactGrid, andBuildMeasuredSummary.--views sixwith--llm(alias--summary) inAetheris.CLI/CliRunner.cs, preserve legacy--plane/--direction,--top|--right|...behavior, and document the six-view convention (topxy/-z,bottomxy/+z,rightyz/-x,leftyz/+x,backxz/+y,frontxz/-y).Aetheris.CLI.Tests/CliBaselineTests.csfor an 8x8 box summary, a torus analytic/no-fallback case, and a RULED-A2 linear-extrusion fallback disclosure case, and add documentation atdocs/implementation/analyze-map-a4-six-view-llm-summary.mddescribing CLI syntax, output fields, compact-grid legend, limitations, and examples.Testing
dotnet restore Aetheris.slnxanddotnet build Aetheris.slnx -f net10.0 --no-restore /m:1, which completed successfully.dotnet test Aetheris.CLI.Tests/Aetheris.CLI.Tests.csproj -f net10.0 --filter "AnalyzeMap|SixView|Llm|Compact|Torus|Cylinder|Fallback|Ruled", and the filtered tests passed.dotnet run --project Aetheris.CLI -- analyze map demos/.../nist_ftc_11_....stp --views six --resolution 16x16 --llm --jsonanddotnet run --project Aetheris.CLI -- analyze map testdata/step242/generated/ruled-a2/ellipse-linear-extrusion-production.step --views six --resolution 8x8 --llm --json, both returned JSON with expected six-view summaries and fallback diagnostics;dotnet run --project Aetheris.CLI -- analyze volume testdata/.../ellipse-linear-extrusion-production.step --jsonreturned the existing honest unsupported-volume JSON as expected.Non-scope confirmation: this change preserves the detailed single-view sample JSON and legacy map behavior, does not add analytic hits for
linear-extrusion/surface-of-revolution/B-spline families, does not run image rendering or feature reconstruction, and does not changeanalyze volumepolicy.Codex Task