Repository navigation
feat(ifc): a duct's Length also in Pset_DuctSegmentTypeCommon (#35) - #605
Merged
Merged
Conversation
) tests/duct_segment_type_common.rs: every duct rvt-rs writes with Revit's Tag on RE1 Mechanical must carry Pset_DuctSegmentTypeCommon.Length within 0.1 mm of Revit's. Red on main (draft #604, run 37140175260, Corpus health tier 2): ---- re1_duct_segment_type_common_length_is_revits stdout ---- thread 're1_duct_segment_type_common_length_is_revits' panicked at tests/duct_segment_type_common.rs:187:5: 25 of the 25 ducts both exports hold lack Revit's Pset_DuctSegmentTypeCommon.Length (tag, Revit's m, rvt-rs's m); first: [("428274", 0.2, None), ("435015", 0.011107575950615366, None), ("435175", 0.14618932188105463, None), ("438792", 0.01460000000002267, None), ("438801", 0.4348446795911576, None)] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 17:52
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
Phase 0 of session 2: repository state, test inventory, the property-set gap after #603/#605/#608, RE-157's finding, and ranked items B26 to B43 with the 16 committed for this session. Also records #601 to #608 in B21's progress and corrects the B23 table's stale statuses. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only maintainer backlog updates; no runtime, CI config, or application code changes in this diff. > > **Overview** > Updates **`BACKLOG.md`** for maintainer **session 2 (2026-10-03)**: session settings now record test policy **(a)** (leave remaining suites untouched after B23), the **ordered committed queue** (B27→B33 and related ids), and a fresh **Phase 0** snapshot (git/CI, unit-test inventory post-mirror deletion, `psets_vs_ifc` gaps, RE-157 pipe inner diameter). > > Adds a **session-2 work table** for **B26–B43** (16 items committed, B42/B43 blocked on models), extends the **B21 progress log** with **#601–#608** and reframes still-open parameter/property-set work toward the new items, logs **four session findings** (witness CI cycles/B27, duct segment quirk, etc.), and **marks B23 mirror-deletion areas** as done in **#574–#577** with Python kept under **B25**. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 502bb34. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.
Revit's IFC4 export of RE1 Mechanical gives every duct Pset_DuctSegmentTypeCommon with Length, the same value as its two flow-segment sets (which rvt-rs already matches, 31 of 31). rvt-rs now writes it on ducts.
Revit also writes the set on RE1 Mechanical's 6 pipes but on none of RE1 Plumbing's 63, so the pipes are left out: IFC4 defines the set for duct segments. Shape is not written, as the round versus rectangular switch is not read (RE-134).
Test: tests/duct_segment_type_common.rs (real target). Red on main: draft #604, run 37140175260, 25 of 25 ducts lack the set; the output is in the test commit's message. Core Interior has no ducts, so no pinned count moves.
Note
Low Risk
Adds one more property set on duct exports using the same length already written elsewhere; pipes and geometry paths are untouched.
Overview
Duct IFC export now emits
Pset_DuctSegmentTypeCommonwith aLengthproperty (same value as the existing flow-segment length sets), matching Revit’s RE1 Mechanical IFC4 behavior. Pipes are unchanged—only the duct branch adds this third property set when segment length is known.A new real-file test (
duct_segment_type_common) exportsRE1-Mechanical.rvt, comparesPset_DuctSegmentTypeCommon.Lengthon shared duct tags against Revit’s reference IFC (0.1 mm tolerance, per-file length units), andtools/ci/test-targets.txtregisters the target for CI.Reviewed by Cursor Bugbot for commit 37b1bc1. Configure here.