Skip to content

RE-15-08: Decode real wall compound-layer thicknesses and wire to IfcMaterialLayerSetUsage #88

Closed

Description

@DrunkOnJava

Problem

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).

Related

Activity

  1. added
    area:elements
    area:ifc
    priority:P0
    type:feature
    on May 23, 2026
  2. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    No new corpus evidence this pass for material colors. Skipped in PR #144 alongside #34.

  3. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  4. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Re-baseline 2026-08-29: Keep. Compound wall-layer thicknesses remain unsupported_feature in project-count fixtures (revit_compound_assemblies_and_walltype_widths). Align with #34. No invented WallType width success.

  5. added
    priority:P1
    research-critical
    and removed
    priority:P0
    on Aug 30, 2026
  6. 2 remaining items

  7. DrunkOnJava commented on Sep 19, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  8. DrunkOnJava commented on Sep 24, 2026

    @DrunkOnJava
    OwnerAuthor

    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).

  9. DrunkOnJava commented on Sep 24, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

    What remains:

    Report: reports/element-framing/RE-58-material-layer-sets.md.

    PR: #366.

  10. DrunkOnJava commented on Sep 27, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:elementsarea:ifcpriority:P1research-criticaltype:feature

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions