diag(probe): diag-detail 模式输出轻量体边界标记 [diag-body],支撑 C 类穿透逐体归因
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s

This commit is contained in:
hm
2026-09-13 15:23:07 +08:00
parent 0ac44826ce
commit 51497cd2b5
+3
View File
@@ -413,6 +413,9 @@ int wmain(int argc, wchar_t** wargv) {
}
try {
BodyDiagnostics d = diagnose_body(b);
if (diag_detail)
std::fprintf(stderr, "[diag-body] %zu/%zu faces=%d\n", bi,
bodies.size(), b.num_faces());
int pen_pairs = 0;
for (const auto& e : d.errors)
if (e.kind == 0) pen_pairs = (int)e.faces.size();