diff --git a/src/compile/complex-junction.js b/src/compile/complex-junction.js index 766f8ba..9fd2506 100644 --- a/src/compile/complex-junction.js +++ b/src/compile/complex-junction.js @@ -534,7 +534,18 @@ function buildComplexJunctionGeometry(model, cluster, helpers) { }, geometry: { type: 'Polygon', coordinates: [coreRing, ...(coreClosure.holes || [])] }, }); - else { + if (coreRing && coreClosure.maxSharedSeamErrorMeters > 0.01) { + cornerDiagnostics.push( + helpers.diagnostic( + 'warning', + `junction-cluster:${cluster.id}`, + [...nodeIds], + 'complex-junction-shared-seam-exceeds-tolerance', + `核心区域与入口断面的最大接缝误差为 ${coreClosure.maxSharedSeamErrorMeters.toFixed(3)} 米,超过 1 厘米验收阈值。`, + center, + ), + ); + } else { cornerDiagnostics.push( helpers.diagnostic( 'warning',