Repository navigation
feat(ifc): a landing that is one tread is drawn as its outline's curve loop, arc and all, one run tread thick (#824) - #975
Merged
Conversation
…iral run, is drawn as its outline's curve loop, arc and all, one run tread thick (#824)
DrunkOnJava
enabled auto-merge (squash)
October 25, 2026 09:46
This was referenced Oct 25, 2026
Roofs Revit's export decomposes into IfcSlab .ROOF. parts (7 of Snowdon's 20) are written whole
#323
Open
DrunkOnJava
added a commit
that referenced
this pull request
Oct 25, 2026
… as retitled (#979) ## Summary The contribution map's rows for #323, #810, #824 and #878 take their issues' current titles, and ROADMAP's 0.8.0 paragraph names what each still owes. ## Motivation Today's landings narrowed four issues: #968 and #974 left #323 only its roof parts, #972 left #810 two doors, #975 and #978 left #824 the roof hatch openings, and #970 left #878 the 2015 elements' GlobalIds. The map says it lists each open issue "with each issue's own title". ## Changes - `docs/contribution-map.md`: four rows retitled. - `ROADMAP.md`: #323 (roof parts), #810 (two doors), #824 (roof hatch openings). ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [ ] `tools/check-local.sh`: CI. - [x] Docs only; every map row compared with `gh issue list --state open`. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [ ] A user-visible change has its entry as a fragment under `changelog.d/`: not needed, docs only - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [x] No fixtures ## Breaking changes None. ## Related issues Refs #323, #810, #824, #878
11 of 12 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Oct 25, 2026
…ipes, door sizes and slab outlines (#981) ## Summary The supported profile and the 1.0 criteria caught up with what 0.8.0 has landed so far: stairs (riserless and spiral flights, landings, predefined types, the office's numbers), Revit 2024 pipes, door and window sizes from the record box (RE-218), and the office's slab outlines. The 1.0 criteria named the closed 0.6.x milestone as where the geometry residuals live; they now name 0.8.0 and the W6 census. The copies fragment's slab count is corrected to what `main` measures. ## Motivation `docs/supported-profile.md` is the per-row statement 1.0 is judged by. Its stairs row still said spiral and riserless flights are boxes (drawn since #959 and #966), its pipes row said Revit 2025 only (Revit 2024 since #954), and its doors row did not have RE-218. ## Changes - `docs/supported-profile.md`: the floors, pipes, stairs and doors rows. - `docs/release-1.0-criteria.md`: the W6 row and the closing paragraph name the 0.8.0 milestone and `tools/re/box_bodies_vs_ifc.py`. - `changelog.d/fixed/current-sketch-copies.md`: 62 of 63 office slab outlines on each file with #975 and #978 both on `main` (the fragment's 61 was measured before #975 joined it). ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [ ] `tools/check-local.sh`: CI. - [x] Every number is from a Measure run on `main` or the PR that landed it: slab outlines from Measure [40187355859](https://github.com/DrunkOnJava/rvt-rs/actions/runs/40187355859)'s base (`main` 3a3b50a, `plan_profiles_vs_ifc`: 62 of 63 on each office file), pipes from #954, stairs from RE-214 and RE-217, door sizes from RE-218 and #972. `python3 tools/release/changelog.py check` passes. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] A user-visible change has its entry as a fragment under `changelog.d/`: docs only, no new entry - [x] Resolved limitation updated (support matrix, status) - [x] Limitation documented: unchanged - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 (see `CONTRIBUTING.md`) - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see `CLEANROOM.md`) - [x] Any new test fixtures use synthetic values: none added ## Breaking changes None.
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 stair landing that is not monolithic and takes its tread from its runs is now drawn as that tread: its native outline loop, lines and arc, from its top down its runs' tread thickness, as one
IfcIndexedPolyCurveextrusion. The BIM4LCA office's landing 3058084, beside its spiral run, goes from its storey-tall record box to Revit's body (1.462462 ft³ in both, every vertex within 0.0000022 ft). Part of #824 (RE-214 §7).Motivation
#824's remainder named two office slabs whose top surfaces differ from Revit's: this landing (an arc where it meets the spiral) and roof 2991742. RE-214 left the landing as its box because its type is not monolithic and its outline has an arc.
Changes
src/native_stairs.rs:native_tread_landingsreads the landing'sCurveLoopat its top (GLine:m_origin,m_dirVec,m_endParams;GArc:m_center,m_xVec,m_yVec,m_radius,m_endParams; closed, every curve starting where the last ended), its type'sm_hasMonolithicSupport/m_hasTread/m_useSameTriserAsRun, and them_treadThicknessits stair's runs' types share;LandingCurve,NativeTreadLanding.src/partition_schema_mvp.rs:attach_landing_slabsrecords it (LANDING_TREAD_OUTLINE_FIELD,LANDING_TREAD_BOTTOM_FIELD,LANDING_TREAD_TOP_FIELD) where it lies in the record box;landing_tread_body_from_fields.src/ifc/export_content.rs:landing_tread_solidwrites the loop as anIfcIndexedPolyCurve(lines and three-point arcs, counter-clockwise),BodySourcenative_landing_tread.examples/probe_824_landing_loops.rs(the loop and the type members).reports/element-framing/RE-214-landing-slabs.md§7,docs/status.md,docs/support-matrix.json(element-record-landing-slabs),README.md(stairs row),changelog.d/added/tread-landing.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.sh: CI.Verified end to end on real Revit files. Measure 40181002275, this change against
main(ba38971),-f nordic=true -f r2025=true:stair_bodies_vs_ifc), both filesplan_profiles_vs_ifc), as builtOnly the two office files' IFC changes for this (the run's R2025 differences are feat(ifc): Revit 2025 stairs, runs and stringers take their names, types and families from their native records (#323) #974, which the branch predated; now rebased).
Not covered: a landing whose stair's runs name different tread thicknesses, or whose type takes its own tread; they keep their box (not measured).
Audit-honesty checklist
changelog.d/Legal and contribution hygiene
Formats/Latest) bynative_document; no Autodesk SDK source, disassembly or NDA material was used.Breaking changes
None.
native_tread_landings,LandingCurve,NativeTreadLanding,LandingTreadBodyand the field constants are new, in the research surface.Related issues
Refs #824