Skip to content

fix(elements): a plumbing fixture whose type draws nothing visible is left out, as Revit's export leaves it out (#1496) (RE-363) - #1538

Merged
DrunkOnJava merged 2 commits into
mainfrom
feat/1496-family-types-drawing-nothing
Nov 9, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
feat/1496-family-types-drawing-nothing

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Closes #1496. Follows #1513 (RE-363), which has landed.

Summary

A plumbing fixture whose type's saved graphics at Fine detail decode cleanly to no surface, with a branch left out as not visible, is left out and counted as element_record_family_type_draws_nothing. Revit's exporter writes such an instance only when it has a body. RE-363 section 2 scores this category on every model with an export, with no false negative. Other categories are written whatever their type draws: a first version applied the rule to every family instance and left out 91 Generic Models on Snowdon Towers Structural, a file with no Revit export, where nothing supported it (RE-363 section 7). If the check can't run, every fixture is written and warnings says so.

Testing

Unit tests are banned here. Measure run 42534365349 on ce5a3c4a against #1513's head ad607125, every model: 117 of 118 exports are byte for byte, and only RE1 Plumbing moves. There the extra IfcSanitaryTerminal goes (elements 124 to 123), connections not in Revit's export go from 2 to 0, values Revit does not write from 2 to 0, and different stays 0 with equal at 313. same-project gates passes. tests/element_records_2025.rs now expects RE1 Plumbing's fixtures to equal Revit's.

@DrunkOnJava DrunkOnJava changed the title fix(elements): a family instance whose type draws nothing visible is left out, as Revit's export leaves it out (#1496) (RE-363) fix(elements): a plumbing fixture whose type draws nothing visible is left out, as Revit's export leaves it out (#1496) (RE-363) Nov 8, 2026
… left out, as Revit's export leaves it out (#1496) (RE-363)
@DrunkOnJava
DrunkOnJava force-pushed the feat/1496-family-types-drawing-nothing branch from ce5a3c4 to 7d02d82 Compare November 9, 2026 02:11
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 9, 2026 02:11
@DrunkOnJava
DrunkOnJava merged commit a186a81 into main Nov 9, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/1496-family-types-drawing-nothing branch November 9, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RE1 Plumbing: water closet tank 442378 is written, and Revit's export holds neither it nor its type

1 participant