Skip to content

Compute hard clashes and clearances in the CLI with IOCoord - #72

Merged
mahach666 merged 1 commit into
mainfrom
codex/clash-checks
Nov 18, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/clash-checks

Conversation

@mahach666

@mahach666 mahach666 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Use the published IOCoord package in the CLI for surface clashes and clearance checks between two categories. Run the query after source placement and append its results to the scene for both HTML and JSON export.
  • Document the signed distance and optional .NET API for explicit element selections. Hard clash depth is estimated from the overlap of the contacting mesh bounds. Solid containment is available as a separate IOCoord query.
  • Keep IOCoord out of the IOViewer library package. The existing browser clash panel reads the results as it does for imported clashes.

Verification

  • Restored in an isolated package directory and verified that IOCoord matches the signed package from NuGet.org. Release build and 187 .NET tests passed per framework, including the real RVT test. Added tests for placement, existing results, signed depth, clearance boundaries and invalid inputs.
  • Package checks passed. Installed the locally packed CLI for .NET 8 and .NET 10 and ran the hard clash check on the IFC in both. Each returned the same 900 pairs.
  • Schependomlaan IFC, walls versus slabs, returned 900 hard pairs and 1,098 pairs within 50 mm. racbasicsampleproject RVT, Walls versus Floors, returned 83 hard pairs and 87 pairs within 50 mm. Checked pair IDs, distances and coordinates across JSON and HTML, plus 3D selection and the marker in Chromium and Firefox.
  • 165 viewer unit tests and 214 Playwright tests in Chromium and Firefox passed. The embedded bundle rebuilt byte for byte, and DocFX passed with warnings as errors.

Closes #21

@mahach666
mahach666 merged commit 0e5b714 into main Nov 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clash detection engine

1 participant