Repository navigation
Conversation
DrunkOnJava#1635) A railing whose saved mesh is partial, or whose release's saved graphics are not read, was written as its record box: the box around its path and height, which held 0.04% to 3.5% of Revit's body on the 8 railings measured and, since DrunkOnJava#1626, made each stair holding one 66 to 277 times Revit's volume. It is now written with no body, keeping its placement, storey, stair and properties; BodySource none_railing_record_box_withheld and SavedMeshRefusal say why. RE-509 also answers the issue's open question: Revit's body of a railing is its own saved mesh, which already places the rails it names in m_continuousRailIds (within 1% on 35 of the BIM4LCA office's 41); adding the rails' own meshes counts them twice. No other product changes.
|
@puzzbobb, thank you. |
|
@puzzbobb, what the measurements show so far, before the code read, on a merge of
Nothing stands in the way from these, beyond the merge of |
|
The element diff I said I'd run, on |
|
@puzzbobb, the code read of the two source files, which turned up nothing to change: Three asks, all docs, which can ride the push with the merge of
Next, yours: those and the merge of |
|
The held-out run on the same merge (run 47661456894): 5 of 25 exports move, all saves of 2018 to 2022. In the counts it keeps, the only lines that move are railings' record boxes: 7, 14, 11 and 2 railings on four held-out models, each with its |
Summary
Closes #1635. RE-509.
KAI-6as built and at permit,17_Rooms_Stairs_Spiral's 2, Snowdon Towers Architectural 2025's 5) had boxes holding 0.04% to 3.5% of Revit's body. Each stair holding one was 66 to 277 times Revit's volume and is now 79% to 89% of it. The exception is the spiral stair, whose flight is still a box (GCylindricalHelix). The railing keeps its placement, storey, stair, type and properties. ItsBodySourceisnone_railing_record_box_withheld, and itsSavedMeshRefusalstill says why the mesh was not drawn.saved_meshes::withhold_railing_boxesruns after the saved-mesh pass, so railings of Revit 2022 and earlier (not offered a pass) have no body either.BaseRailing.m_continuousRailIds(RE-397). On the office as built it is within 1% of Revit's body on 35 of 41 railings; adding the rails' own meshes makes it 1.42 to 1.99 times Revit's. So nothing is left to add from the rails. ReadingHermiteSurf(RE-460, behindRVT_2085_HERMITE_RECOVERY) does not give Revit's body for these railings either (RE-460 §7).Evidence
Each product of
main's export and this branch's, paired by GlobalId and compared on class, name, Tag, representation, properties and quantities:17_Rooms_Stairs_Spiral13_Rooms_Stairsrac_advanced_sample_project2019Every product that differs is an
IfcRailingthat lost its box body and changedBodySource.Tests and checks
tests/railing_bodies.rs(corpus=r2025): the spiral stair's two railings have no body, are placed, carry the newBodySourceandpartial: unsupported surface HermiteSurf, and are counted inexported.body_sources.13_Rooms_Stairs' two railings staysaved_graphics_mesh.value_sources_offsets:COVERAGEhas aNoBodyrow for the new source.--test integration, the probe), rustdoc,measured_numbers,api-doc-ids,changelog.py checkandverify-real-files.sh --check-onlypass.clippy --libstops onsrc/research/partition_name_candidates.rs(enum_variant_names), which this branch does not touch.Probe
probe_1635_railing_meshes; scorerstools/re/railing_meshes_vs_ifc.pyandtools/re/withheld_railings_vs_ifc.py.