Repository navigation
feat(ifc): a Revit 2024 pipe is drawn as its cylinder with its ports at its ends (#869) - #954
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 25, 2026 00:41
This was referenced Oct 25, 2026
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 Revit 2024 pipe is now drawn as its cylinder, with its ports at its ends, as RE-131 does on Revit 2025. On the BIM4LCA office, a Revit 2024 project with Revit's IFC4 export, all 12 pipes on each of its two files are Revit's cylinder, with its radius, axis ends and length to 0.00001 ft, where they were boxes, and their 24 ports sit at their ends within 0.01 ft with Revit's axis. Part of #869.
Motivation
#952 placed 2024 family instances' ports and found the office's other 24 ports unplaced, because pipe axes were read on 2025 only (
PIPE_AXIS_SUPPORTED_REVIT_VERSIONS). The connector-entry layout is the same on 2024.Changes
src/partition_pipe_axes.rs:PIPE_AXIS_SUPPORTED_REVIT_VERSIONSis[2024, 2025], with the office's measurement in its doc.src/ifc/export_content.rs:pipe_invert_heightneeds the pipe's inner diameter before either branch. Diameters are read on 2025 only (RE-157), and without this a vertical 2024 pipe wrote anInvertElevationfrom its axis alone that Revit's export does not give. A 2024 pipe now writes none, as before this change.tools/re/pipe_bodies_vs_ifc.py: compares each file in its own site frame, since Revit writes the office's site at its shared coordinates; reads the radius of a profile Revit writes as four arcs (anIfcIndexedPolyCurveofIfcArcIndex, the office's) or as a closed polyline; says which profiles Revit wrote and names the worst radius. RE1's scores do not change.docs/support-matrix.json(pipe cylinders),README.md(the pipes row, and the ports line, which still said Revit 2025 after feat(ifc): a Revit 2024 family instance's unjoined ports are placed at their connectors, measured on the BIM4LCA office (#869) #952),ROADMAP.md,docs/compatibility.md.changelog.d/added/pipes-2024.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.main(c8691bc), default models plus-f nordic=true:research/bim4lca-measure.tsv, fetched by Measure):pipe_bodies_vs_ifccircle profile, radius, axis ends and length 12 of 12 on each (no circle profile before);port_places_vs_ifcpipe ports within 0.01 ft of Revit's with Revit's Z axis 24 of 24 (none placed before);psets_vs_ifcis unchanged on both (noInvertElevationon a 2024 pipe, as onmain);Audit-honesty checklist
changelog.d/InvertElevation(its inner diameter is not read), in the support matrix and inpipe_invert_height's docLegal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
N/A.
Related issues
Refs #869