fix(feature): правки shell по ревью Codex

- сообщение shell считает грани после дедупликации (Distinct)
- тест переименован (open_cap) + комментарий о симметрии торцов
- RCW-долг транзитов shell задокументирован в OPEN_QUESTIONS v2-2

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-26 22:31:59 +03:00
parent 115fcb8759
commit fef0741eef
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ public sealed class FeatureTools(KompasSession session, PartModeler modeler)
{
await session.ConnectAsync();
var id = await modeler.ShellAsync(faceIndices, thickness, outward);
return $"Оболочка толщиной {thickness} мм создана (удалено граней: {faceIndices.Length}), id={id}.";
var removed = faceIndices?.Distinct().Count() ?? 0;
return $"Оболочка толщиной {thickness} мм создана (удалено граней: {removed}), id={id}.";
}
[McpServerTool(Name = "rebuild")]