Repository navigation
probe(probes): place trim neighbours through their own face (#2085) - #2136
Merged
DrunkOnJava merged 1 commit intoNov 22, 2026
Conversation
…ava#2085) Report stored endpoint contact using the cached evaluator for the neighbouring face. Preserve the existing plane and cylinder diagnostic for comparison.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 22, 2026
…, per stored gap's side (#2085)
Owner
|
@shifatrHtH, thank you. I read the whole change and ran it here.
I am merging it into |
DrunkOnJava
merged commit Nov 22, 2026
bde05bd
into
DrunkOnJava:research/2085-ring-join
1 check passed
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.
Summary
Extend
probe_2085_trim_breaksto measure a neighbouring trim loop using the evaluator for that face. The new rows distinguish an edge passing near a gap from a pair of stored endpoints that meet on the adjacent face. The existingpiecenbrrows remain available for comparison.Motivation
In #2085, the plane/cylinder neighbour search leaves some spline-side loop edges unread. The graph already holds the evaluated samples on both sides of each edge. Reusing the adjacent face's cached placement makes those samples comparable to the same-save Revit vertices.
Changes
ownnbrfor the preceding and following edges in the other face's loop. Each row gives polyline and endpoint distances to P and Q, plus the distance from the closest shared endpoint to the closest adjacent endpoint. Emit a reason when the needed face, loop, or placement cannot be read.Testing
tools/check-local.shpassed, including workspace Clippy, rustdoc, builds, the real-file/CLI/contract gate (315 checks), and the CLI examples.2f73e456and this patch on the BIM4LCA Office Concrete As-Built RVT and Revit IFC (VTT, Arkkitehtitoimisto Huvila, Gravicon and Granlund, CC BY-SA 4.0). The two inputs passed the repository's pinned archive-entry checks. Removing the new row types leaves all 1,752 baseline rows byte-identical. The patch adds 228 readable rows across 73 census gaps, with 30 sides read through a parametric evaluator, and 32 unread rows for absent opposite faces. Both probes and the scorer exited cleanly.1e-7ft of its shared endpoint and one gap end, and Revit's raw IFC has a vertex at just one gap end, Revit keeps the neighbour's end on seven sides and the other end on three. The side counts refer to stored gaps. A single gap can contribute two sides.Public reproduction:
python3 tools/ci/fetch-bim4lca.py research/bim4lca-measure.tsv /tmp/rvt-office-check \ ARK_NordicLCA_Office_Concrete_As-Built.rvt ARK_NordicLCA_Office_Concrete_As-Built_Revit.ifc cargo run --profile ci -p rvt-probes --example probe_2085_trim_breaks -- \ /tmp/rvt-office-check/ARK_NordicLCA_Office_Concrete_As-Built.rvt > office.txt python3 tools/re/boundary_gaps_vs_ifc.py office.txt \ /tmp/rvt-office-check/ARK_NordicLCA_Office_Concrete_As-Built_Revit.ifc --per-gapAudit honesty
The dated addendum describes the probe and its public check. The new output is limited to the unpublished research example. The library, mesher, IFC exporter, and public API are unchanged. The observed neighbour contact is a diagnostic and the source of Revit's endpoint selection remains open.
Legal and contribution hygiene
This contribution is licensable under Apache-2.0. It is based on the public rvt-rs probe and its existing surface evaluators, observations of Revit saves and their corresponding IFC exports, and the public IFC representation. No Autodesk or ODA SDK source, leaked documentation, NDA material, decompiled internal implementation code, or copied or translated revit-ifc code was used. No fixture or private probe output is included.
Breaking changes
None. The research probe adds rows and preserves its existing output.
Related issues
Refs #2085.