Repository navigation
fix(ifc): one material rule for the schedule and the CSV, counts after --revit-property-sets, and docs and messages that say what the export does (batch 9) - #1946
Merged
Conversation
…e schedule and the CSV, counts after --revit-property-sets, and docs and messages that say what the export does - schedule_csv::MaterialNames: the elements CSV's precedence (profile set, layer set, single material, constituents) shared with scene_graph's schedule, which read the single material alone. - export_pipeline: recount_exported after revit_property_sets::attach. - The no-Level warning, BuildingElement.storey_index, ElementInput.storey_index and step_writer's comment say an element with no storey is contained in the building (RE-27, RE-124), not put in storey 0. - BuilderOptions.units: the source model's units, reported in the diagnostics; the IFC's unit assignment is fixed SI (#403). - ScheduleRow.guid is the ElementId, not the GlobalId; pbr's comment names the sRGB transfer function it applies. - The panel formats lengths with format_feet (no -0.000). - gltf: a material index past the model's materials is dropped. - attach_wall_top_joins replaces m_wall_top_joined rather than pushing a second copy.
Owner
Author
|
Measure 43515845568 (unfiltered against
|
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 23:01
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
Batch 9's confirmed findings that change no IFC value, each re-read against the code by Claude:
scene_graph::build_schedule) read only an element's single material, so a layered wall showed none where the elements CSV names its layer set.schedule_csv::MaterialNamesholds the CSV's rule (profile set, layer set, single material, constituents) and both use it.--revit-property-sets.export_pipelinecalledrecount_exportedafter every model-changing step butrevit_property_sets::attach, soexported.total_entitiesmissed the sets it adds.BuildingElement.storey_index,ElementInput.storey_index, astep_writercomment and the no-Level warning said an element with no storey goes to storey 0, or to a fallback storey. The writer contains it in the building (RE-27, RE-124), and they now say so.BuilderOptions.unitsnamed abuild_unit_listthat does not exist, and claimed the units become theIfcUnitAssignment; the writer's assignment is fixed SI (IFC unit assignment declares Revit's display units, and millimetres when none are recovered, while values are written in SI metres #403).ScheduleRow.guidis the ElementId, not the GlobalId.0.000, as its own rule says.attach_wall_top_joinsreplacesm_wall_top_joinedrather than pushing a second copy.Motivation
Batch 9, an export bug hunt: 40 DeepSeek checkers and 30 verifiers, $3.79. Two other fixes from it change exports and are their own PRs: #1939 (the opening box height) and #1940 (material colours). The rules that run on unmeasured releases are #1945.
Testing
No IFC value changes.
diagnostics.jsonchanges only in the no-Level warning's text, and intotal_entitiesunder--revit-property-sets, which no Measure run uses. The unfiltered Measure with the samples is in this PR's comments, to show the exports byte-identical and give the gates verdict.Audit-honesty checklist
changelog.d/fixed/