You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RE-15-08: Decode real wall compound-layer thicknesses and wire to IfcMaterialLayerSetUsage #88
area:elementsWork in the elements area.area:ifcWork in the ifc area.priority:P1High-impact work needed for the MVP or beta path.research-criticalGated on format evidence or an oracle; not a release/security blocker (GOV-002)type:featureNew product or library capability.
v0.2.0 emits IFCMATERIAL and IFCWALL entities but does not
associate walls with their compound-layer structure. Revit
walls have a WallType referencing a CompoundStructure with
layered materials + thicknesses; v0.2.0 drops this data.
Refs: ROADMAP CLASS-07 (compound layers); CHANGELOG [0.2.0]
(no wall-material associations).
Scope
Decode WallType.CompoundStructure from partition bytes.
Build IfcMaterialLayerSet (one per WallType).
Emit IfcMaterialLayerSetUsage + IfcRelAssociatesMaterial per
wall instance.
Acceptance criteria
At least 5 distinct IfcMaterialLayerSet entities in 2024_Core_Interior.rvt IFC export.
Each wall has a RelAssociatesMaterial pointing to its
LayerSetUsage.
Layer thicknesses round-trip from Revit-bytes within
tolerance (track per-fixture).
Compound-layer thicknesses (#88 / #34 material assemblies): skipped this pass — no new corpus evidence beyond display-name Material recoveries already shipped. Do not invent layer thicknesses. Blocked until thickness/join signals appear on a redistributable or magnetar fixture.
Status after PR #273 (RE-28, reports/element-framing/RE-28-wall-type-records.md): the Revit wall type record is now decoded and every wall joins its IfcWallType exactly (360 of 360 on 2024_Core_Interior.rvt, matching the export's IfcRelDefinesByType distribution 129/127/100/4). The thickness half of this issue has no oracle on the current corpus: the reference export is ReferenceView_V1.2 and carries zero IfcMaterialLayerSet, IfcMaterialLayer or IfcMaterialLayerSetUsage, with every wall associated to a single IfcMaterial. A 128 KiB sweep around each exported type found no run of consecutive f64 values summing to the type's nominal width, so no layer set is emitted rather than an invented one.
Closing this needs a DesignTransferView export (or one carrying Qto_WallBaseQuantities) of the same .rvt, or an owner-supplied wall type schedule with per-layer thicknesses, to witness against.
Layer thicknesses are read now (RE-53, reports/element-framing/RE-53-wall-layers.md). They are not near the wall type's record, which is where RE-28 swept, but in the type's own element data: a u32 count, then 37-byte layers of f64 width, u64 material, u64 deck and u32 function, exterior first. On Snowdon Towers, 42 of 42 types give Revit's constituent sequence. Core Interior's four types are one layer each, by category, which is why RE-28 found no multi-layer run there.
The glTF export and viewer draw 2024 walls in these layers. Wiring them into IfcMaterialLayerSetUsage is still open: an IfcMaterialLayer's material needs a name (#355), and the layer set's offset from the axis needs the location-line setting and the core boundary (the core boundary is not read yet).
RE-58 wires the compound layers (RE-53) to IfcMaterialLayerSetUsage.
Each layered wall, floor, roof and ceiling now exports an IfcMaterialLayerSet: one per type name and layer sequence, each layer with its material and thickness. It also gets a usage that places the set on its body:
floors, roofs and ceilings: AXIS3, NEGATIVE, from their top;
walls: along the local axis their exterior faces, exterior layer first.
A usage is written only where the body is an extrusion as thick as its layers.
Measured against Revit's own exports:
file
layer sets
whole sets on Revit's body within 0.001 ft
Snowdon Towers
1,216
1,196 of 1,207
2024_Core_Interior
88 (floors and shading devices; its walls are single layers by category)
88 of 88
RE1 Architecture
15
15 of 15
The 11 Snowdon exceptions are soffit walls whose stud layer Revit cuts back.
RE1's 2025 export writes layer sets of its own. rvt-rs writes the same 4, with the same thicknesses in the same order.
Layer thicknesses from the bytes: every layer within 0.001 ft of Revit's on 851 of 862 Snowdon walls (RE-53).
The second remaining item in the last comment, Family:Type set names, landed as RE-61. The first, elements drawn whole or sloped getting no set, is #358.
area:elementsWork in the elements area.area:ifcWork in the ifc area.priority:P1High-impact work needed for the MVP or beta path.research-criticalGated on format evidence or an oracle; not a release/security blocker (GOV-002)type:featureNew product or library capability.
Activity
feat: apply partition Level names to ArcWall-derived storeys
feat: ArcWall trailer ElementId/elevation finish-line for Gate B
research(re-15): geometry probes for slabs, layers, doors, names
Level ElementId storey bind + AProperty parameter surfaces (#144)
DrunkOnJava commentedon Aug 29, 2026
No new corpus evidence this pass for material colors. Skipped in PR #144 alongside #34.
DrunkOnJava commentedon Aug 29, 2026
Compound-layer thicknesses (#88 / #34 material assemblies): skipped this pass — no new corpus evidence beyond display-name Material recoveries already shipped. Do not invent layer thicknesses. Blocked until thickness/join signals appear on a redistributable or magnetar fixture.
DrunkOnJava commentedon Aug 29, 2026
Re-baseline 2026-08-29: Keep. Compound wall-layer thicknesses remain
unsupported_featurein project-count fixtures (revit_compound_assemblies_and_walltype_widths). Align with #34. No invented WallType width success.2 remaining items
feat: ArcWall trailer ElementId/elevation finish-line for Gate B
research(re-15): geometry probes for slabs, layers, doors, names
Level ElementId storey bind + AProperty parameter surfaces (#144)
fix(compare): point the divergence catalogue at the issues that still…
DrunkOnJava commentedon Sep 19, 2026
Status after PR #273 (RE-28,
reports/element-framing/RE-28-wall-type-records.md): the Revit wall type record is now decoded and every wall joins itsIfcWallTypeexactly (360 of 360 on2024_Core_Interior.rvt, matching the export'sIfcRelDefinesByTypedistribution 129/127/100/4). The thickness half of this issue has no oracle on the current corpus: the reference export isReferenceView_V1.2and carries zeroIfcMaterialLayerSet,IfcMaterialLayerorIfcMaterialLayerSetUsage, with every wall associated to a singleIfcMaterial. A 128 KiB sweep around each exported type found no run of consecutive f64 values summing to the type's nominal width, so no layer set is emitted rather than an invented one.Closing this needs a DesignTransferView export (or one carrying
Qto_WallBaseQuantities) of the same.rvt, or an owner-supplied wall type schedule with per-layer thicknesses, to witness against.feat(elements): join every wall to its IfcWallType through the wall t…
docs: catch the public docs up to #266, #267, #272, #273 and #274 (#276)
DrunkOnJava commentedon Sep 24, 2026
Layer thicknesses are read now (RE-53, reports/element-framing/RE-53-wall-layers.md). They are not near the wall type's record, which is where RE-28 swept, but in the type's own element data: a u32 count, then 37-byte layers of f64 width, u64 material, u64 deck and u32 function, exterior first. On Snowdon Towers, 42 of 42 types give Revit's constituent sequence. Core Interior's four types are one layer each, by category, which is why RE-28 found no multi-layer run there.
The glTF export and viewer draw 2024 walls in these layers. Wiring them into IfcMaterialLayerSetUsage is still open: an IfcMaterialLayer's material needs a name (#355), and the layer set's offset from the axis needs the location-line setting and the core boundary (the core boundary is not read yet).
feat(elements): draw walls as their layers, each in its material's co…
feat(elements): draw floors, roofs and ceilings as their layers stack…
DrunkOnJava commentedon Sep 24, 2026
RE-58 wires the compound layers (RE-53) to
IfcMaterialLayerSetUsage.Each layered wall, floor, roof and ceiling now exports an
IfcMaterialLayerSet: one per type name and layer sequence, each layer with its material and thickness. It also gets a usage that places the set on its body:AXIS3,NEGATIVE, from their top;A usage is written only where the body is an extrusion as thick as its layers.
Measured against Revit's own exports:
What remains:
Family:Type.Report:
reports/element-framing/RE-58-material-layer-sets.md.PR: #366.
feat(ifc): write layered walls, floors, roofs and ceilings as IfcMate…
feat(ifc): name each material layer set Family:Type as Revit does (RE…
DrunkOnJava commentedon Sep 27, 2026
Closing against the acceptance criteria above, rechecked on main (ebba730), 2026-09-27:
The second remaining item in the last comment, Family:Type set names, landed as RE-61. The first, elements drawn whole or sloped getting no set, is #358.