Repository navigation
feat(ifc): a railing's hidden instances forbidden the targets 53246 are drawn and its flip control is left out of the walk, so 24 railings Revit's exports hold come from their saved meshes (#1635) (RE-397) - #1652
Merged
Conversation
DrunkOnJava
marked this pull request as draft
November 10, 2026 20:16
DrunkOnJava
force-pushed
the
feat/railing-hidden-instances
branch
from
November 10, 2026 21:13
45a7d16 to
0e64354
Compare
…re drawn and its flip control, which holds no surface, is left out of the walk (#1635) (RE-397)
…ics, their tree, every instance with its symbol's volume, and the symbols' own trees (#1635)
… from a saved mesh and which stay a record box (#1635) (RE-397)
…that the walk skipped and the flip control that is no surface, with the changelog fragment and the reconnaissance addendum (#1635) (RE-397)
…saved graphics holds against Revit's body (#1635) (RE-397)
…e, and of the partitions that hold a copy of their saved graphics (#1635) (RE-397)
…uous rails, puts the KAI-3 excess in its posts, and names the exporter files it read (#1635) (RE-397)
…s not met on the housing, and Revit's export draws round sections as inscribed polygons (#1635) (RE-397)
DrunkOnJava
force-pushed
the
feat/railing-hidden-instances
branch
from
November 10, 2026 21:45
0e64354 to
a9cde9e
Compare
…egistered miss stated (#1635) (RE-397)
DrunkOnJava
marked this pull request as ready for review
November 10, 2026 21:46
…e of the KAI-3 posts' volume, as RE-397 section 5.2 does (#1635) (RE-397)
This was referenced Nov 10, 2026
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
A railing's saved graphics name its parts as instances of other elements. The walk skipped the ones flagged hidden in the normal draw and forbidden the targets 53246, which are the railing's continuous rails and hold up to 59% of its body, and refused a flip control, which is a grip with no surface. Both are read now: 24 railings that Revit's own exports hold are drawn from their saved meshes (bounding box within 0.01 ft of Revit's on all 24, volume within 1% on 19), the four Revit 2025 stairs that aggregate their railings go from 2.6 to 3.0 times Revit's volume to Revit's, and 224 railings of 19 Autodesk samples change from a record box to a saved mesh with no Revit export to score them. Two of the 24, the office's
KAI-3, are 19.5% over Revit's volume, all of it in their posts, and on the BIM4LCA housing the row pre-registered on #1636 is not met (31 of 43 and 40 of 56 railings within 2% in volume, under the registered 3 in 4): Revit's export draws round sections as inscribed polygons with few corners, which the volume reads and the vertices do not. The maintainer decided on 2026-11-10 that it ships with the miss stated and the bar not restated; the volume scorer's blindness to a round section is its own follow-up.Motivation
#1635, and RE-303's open question (why a railing's saved mesh lacks parts of Revit's body). RE-390 disclosed that a stair's volume, the sum of its parts, carried the railing boxes (2 to 127 times Revit's on the office's stairs); RE-397 finds where the missing parts are and closes it on the Revit 2025 stairs.
Changes
src/research/native_graphics_traversal.rs:drawn_hidden_instancetakes aGInstanceof visibility 1 andm_targets53246, the only restricted pair measured, as drawn; aGBiFlipControlis walked as a branch with no surface, as a curve or a point is. Every other hidden instance stays skipped and every other mask stays refused.probes/examples/probe_re397_*.rs: ten probes (a railing's saved graphics, their tree, the hidden decode, the symbols' meshes, every instance with its symbol's volume, the symbols' trees, which classes the default export draws from a mesh, what each detail level holds, the symbol of aKAI-3railing's posts, and the copies of its saved graphics).reports/element-framing/RE-397-railing-instances.md,docs/format-reconnaissance.md(addendum),changelog.d/changed/1635-railing-instances.md.Testing
Unit tests are banned in this repository; none are added.
nordic,r2025,samples,racadv,bimcollab,holdout), headc12f408c(this change before its rebase ontomain, kept underrefs/archive/2026-11-10/cited/) againstmainat2713ebcb, 118 models on each side: 26 exports move, with no census regression and no body or placement regression; 263 bodies go from a record box to a saved mesh. The later commits add probes, the report and docs only. The same-project gates pass onc12f408c(15 samples held to their earlier saves).Rooms_Stairsmodels (2 each) and RE1 Architecture (1) are scored, 24 in all. Bounding boxes within 0.01 ft on 24 of 24; volume within 1% on 19 (the tenKAI-4and theKAI-1of the office, and the 8 Revit 2025 railings at 1.0000); every vertex of each within 0.01 ft of the other's surface on 11 of the office's 15, and both bars on 9. The other five: twoKAI-3at 1.195 and 1.198, whose excess is in their posts (0.1793 ft3 each in the saved graphics, a round post of 0.328 ft diameter, against 0.1125 in Revit's export, a prism of about 0.256 by 0.204 ft whose corners lie on that circle, an inscribed quadrilateral; the rails are 0.3% over); two smallKAI-5at 0.980, and RE1's at 1.0175, with every vertex within 0.011 ft. The four Revit 2025 stairs'IfcStairvolume goes from 25.92, 23.76, 30.93 and 24.99 ft3 to 8.782099, 8.707642, 9.297138 and 15.289523 (Revit's 8.782094, 8.707639, 9.297133, 15.289523).probe_re397_mesh_classes, Measure 42889243281 on the change and 42889259936 onmain): the only class whose saved-mesh bodies change on the office and the 2024 samples isIfcRailing, so the flip control's leaving the walk moves no door, window, fixture or furniture body there.0e64354cagainstmainat0bb8067f): 43 housing railings per concrete file and 56 per timber file are drawn from their saved meshes (record boxes 119 to 76 and 132 to 76), bounding boxes within 0.01 ft on all, every stair moves toward Revit's volume, but volume within 2% on 31 of 43 and 40 of 56 (72% and 71%, under 3 in 4); the timber office reads 13 of 15. The outliers' differing shells all read 1.198 to 1.200 and are the 30 mm round rails: Revit's end face is a hexagon inscribed in the circle of rvt-rs's 32-gon (areas 0.00629 and 0.00754 ft2), post hoc and labelled in the result comment and RE-397 section 5.2. The maintainer decided that the rule ships with the miss stated, the bar not restated; the volume scorer's repair is its own pull request with its own pre-registered row.tools/check-local.sh; the fast set runs while the PR is a draft and the full set once it is ready.Audit-honesty checklist
docs/format-reconnaissance.md; no public capability table names railing bodies.changelog.d/changed/.KAI-3posts and the round rails of the housing (Revit's inscribed polygons, section 5.2), and the 2% and 1.75% are not located.probes/examples/and a dated addendum.Legal and contribution hygiene
revit-ifcwas read for what Revit's export writes of a railing, asCLEANROOM.mdallows (Source/Revit.IFC.Export/Exporter/RailingExporter.cs,ExportRailingandCollectSubElements, andSource/Revit.IFC.Export/Utility/GeometryUtil.cs,GetIFCExportGeometryOptionsandGetOneLevelGeometryElement; report section 8); nothing was copied or translated.Breaking changes
None to the library's API. A railing's body in an export changes from its record box to its saved mesh where the mesh is whole.
Related issues
Refs #1635 (26 railings of the office keep their boxes, the stair railings among them: the issue stays open), #1624, #1636 (the second-project row), RE-390.