Repository navigation
fix(ifc): a gutter is an IfcFlowSegment typed by an IfcPipeSegmentType GUTTER unless its own value names IfcPipeSegment, as Revit's export writes it (#1989) (RE-468) - #2006
Merged
Conversation
…e GUTTER unless its own value names IfcPipeSegment, as Revit's export writes it (#1989) (RE-468) The "ducts" of #1989 are the BIM4LCA housing's three gutters. Revit's IFC4 export writes each, in each of the six files, as an IfcFlowSegment typed by an IfcPipeSegmentType GUTTER; rvt-rs wrote two as IfcCovering ROOFING (their own "Export to IFC As", which Revit ignores on a gutter) and one as IfcPipeSegment. The office's 24 gutters carry an IfcPipeSegment value and Revit writes them as IfcPipeSegment GUTTER, so that value is acted on, for gutters.
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 11:25
This was referenced Nov 14, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 14, 2026
…, so a semantic-diff beyond the first 30 is found (#2010) (#2011) ## Summary The Semantic check lists every artifact of a Measure run (`gh api --paginate`, `per_page=100`) before it decides the run has no `semantic-diff`. It read the first 30 of the run's 46, so on a run where `semantic-diff` is not among the newest 30 it said "has no semantic-diff artifact (no base, or no dump on either side), so no check run is written" and the pull request got no verdict. Measure 43587477298 (draft #2006) is such a run: the artifact exists (62,661 bytes), and two semantic checks dispatched for it (43589932366, 43590094818) wrote nothing; the same listing finds it on 43585759293 and 43583771747, which hold the same 46 artifacts in another order. Closes #2010. ## Motivation #2010. A check that reports an artifact absent when it is present is a false green for the arm script: `arm.sh` reads "no semantic verdict" as nothing to judge. ## Changes - `.github/workflows/semantic-check.yml`: the artifact count reads every page. ## Testing Run 43590218954 dispatches the changed workflow from this branch against Measure 43587477298: it finds the artifact, scores 12 elements added, removed or changed on 42 models, and writes the check run on the measured commit as `NOT MEASURED` because a run from a branch carries no Jev key. The verdict itself needs the workflow on `main`; it is dispatched again from there after this lands. `actionlint` and `yaml.safe_load` pass on the file. ## Audit-honesty checklist - [x] The Summary states each change the run showed, with its count. - [x] No private paths or emojis. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk source; no fixtures. ## Breaking changes None. ## Related issues Closes #2010.
4 of 5 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 14, 2026
…ped as a gutter, and the NOTDEFINED_DEFAULTS ramp line names Snowdon's two ramps (#1989) (#1713) (#2016) ## Summary Two comments, no code. `category_map.rs`: the gutter mapping says why `type_entity_for` may type every `IFCFLOWSEGMENT` as a gutter (`IfcPipeSegmentType` `GUTTER`): the gutter mapping is the one way rvt-rs reaches an `IfcFlowSegment` (no `EXPORT_OVERRIDE_TARGETS` value names it), so a class written as one by another path needs its type keyed on its own class first (#1989, owed since #2006). `fields.rs`: the `NOTDEFINED_DEFAULTS` ramp line names Autodesk's Snowdon Towers 2024 sample, whose 2 ramps take the default and agree with Revit's own export of that sample (the sample is on Measure; Revit's export of it is local only, so no Measure scorer reads it; owed since #2008). ## Motivation Both were raised in the review of their pull requests (#2006, #2008) and left for the next change to those lines. They record a limit of a rule and a measurement that no Measure run shows. ## Changes - `src/ifc/category_map.rs`: four comment lines above the `Gutter` mapping. - `src/research/partition_schema_mvp/fields.rs`: four comment lines in `NOTDEFINED_DEFAULTS`'s documentation. ## Testing Output-neutral: the diff changes comments only, so no export, scorer or behaviour moves and no Measure run applies. `rustfmt --check` passes on both files; CI builds and checks the rest. - [ ] `tools/check-local.sh`: no local builds; `rustfmt --check` passes; CI runs the rest. ## Audit-honesty checklist - [x] The Summary states each change the diff shows. - [x] No private paths or emojis. - [x] No capability claim changes, so no status document moves. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk source; no fixtures. ## Breaking changes None. ## Related issues Part of #1989 and #1713 (both closed or shipped; this only records their limits).
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 gutter is written as an
IfcFlowSegmenttyped by anIfcPipeSegmentTypeGUTTER, as Revit's IFC4 export writes it, unless its own or its type's "Export to IFC As" namesIfcPipeSegment, which Revit acts on (the BIM4LCA office's 24 gutters). AnIfcCoveringvalue on a gutter is no longer acted on, as Revit ignores it. The "ducts" of #1989 are the threeGutterelements (familyHLV-1.125) of each BIM4LCA housing file, whichduct_bodies_vs_ifccounts with the flow segments. Closes #1989. Measure 43587477298 (ceaaf72dagainstmain, unfiltered) moves the four large housing files and the Vitoria 2018 pair:IfcFlowSegmentwhere 2 readIfcCoveringand 1IfcPipeSegment: "same" 0 to 3 of 3 on the concrete and the timber housing, as built and at permit. Ducts written for Revit's 3: 1 to 3 of 3, every world box within 0.01 ft (worst 0.00000 ft).Pset_CoveringCommon.IsExternalvalues the two covering gutters carried go (values Revit does not write 26 to 24, 27 to 25, 31 to 29, 27 to 25); equal and different values do not move. No count that equals Revit's falls.IfcFlowSegmentas Revit's IFC2X3 export has them (same 0 to 2 of 244;Pset_PipeSegmentTypeCommon.Referencemissing 2 to 0).IfcPipeSegment) and the R2025 models.Motivation
#1989: RE-402 reads 3 ducts in Revit's export of the housing and 1 in rvt-rs's, the box 3.0 ft off. The 3 are gutters, the offset is gone since the scorer's site-frame repair, and rvt-rs wrote all three in the wrong class. RE-468 has the evidence, including the probe of their export parameters (Measure 43583970009).
Changes
src/ifc/category_map.rs: theGutterdefault isIFCFLOWSEGMENT;IfcPipeSegmentis an override target limited to gutters;OVERRIDE_CLASS_EXCLUSIONSlistsIfcCoveringon a gutter as ignored.src/ifc/step_writer.rs:IFCFLOWSEGMENTtakes noPredefinedType; its type object is anIFCPIPESEGMENTTYPEGUTTER.evidence.md,support-matrix.json,one-project-rules.md), a changelog fragment.Testing
Measure 43587477298:
ceaaf72dagainstmainat32ed4e6a, unfiltered with nordic, r2025, samples, holdout and racadv.duct_bodies_vs_ifc,class_sets_vs_ifc,psets_vs_ifcandsaved_meshes_vs_ifcmove as the Summary states on the four housing files; nothing else moves on the 42 models with a Revit export. 120 of 126 exports and 97 of 102diagnostics.jsonfiles are identical tomain's; the 6 and 5 that differ are the four housing files and the Vitoria pair.Gutter:HLV-1.125:<ElementId>) andObjectTypestill differ from Revit's, and rvt-rs writes none on them (RE-468 section 6).tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Legal and contribution hygiene
revit-ifc'sExporterUtil.GetProductExportTypeis cited for what Revit writes, not quoted); no fixtures.Breaking changes
None.
Related issues
Closes #1989.