Skip to content

IFC export: columns run through the slab that Revit's export cuts them at #756

Closed

Description

@helenkwok

Revit's IFC export cuts a column's body where a floor or roof joined to it cuts it. rvt-rs draws every column to its own extent, so on the public Revit 2024 samples and the BIM4LCA files 276 columns run through the slab above (and one starts inside the slab below), where Revit's export stops them at the slab face.

file cut columns where removed
rstadvancedsampleproject 189 of 203 top 300 mm (the floor's depth) on 126; 400 mm on 63, whose top sits inside a 550 mm tapered deck
rstbasicsampleproject 1 of 30 bottom 350 mm (column 1173925 starts inside the slab)
BIM4LCA Office_Concrete_BuildingPermit 65 top 55 mm on 64, 450 mm on 1
BIM4LCA Office_Concrete_As-Built 14 top 450 mm
BIM4LCA Office_Timber_BuildingPermit 5 top 83 to 1,909 mm, under slabs and roofs
BIM4LCA Office_Timber_As-Built 2 top 670 mm

What Revit's export does, measured against its exported bodies:

  • Only slabs and roofs cut columns, and the removed span is the column's overlap with the slab: the full slab depth on 144 columns, partial on 132 where the column ends inside the slab. Beams, footings and walls that overlap columns never cut them.
  • The cut body is still a plain vertical extrusion, only shorter.
  • The join is not stated in the IFC: IfcRelConnectsElements appears in none of the 21 Revit exports checked. Revit's Volume follows the cut (column 122477: 0.5566 m³ = π·0.225²·3.5 m), while Length and the offsets keep the column's own extent.
  • Not every overlap is cut, because the join has an order: on the files checked, 210 column/slab pairs have the column cut, 796 have the slab voided at the column, and 253 are unjoined clashes left solid.

The cut extent is stored in the file. The column's geometry node that RE-173 reads (u64 id · u64 3 · u64 -1, two boxes of six f64 at 96 and 48 bytes before the id) holds the column's own extent in the first box and its extent after joins in the second. The second box equals Revit's exported body z-range on 1,977 of 1,977 columns in 13 files (276 cut, 1,701 not), taking the node from the highest-numbered partition where a column has several. Where those copies disagree (14 columns in Office_Timber_BuildingPermit) why the highest partition is the current one is not known.

Clean-room: public Autodesk Revit 2024 sample files and the BIM4LCA files (CC BY-SA 4.0, not redistributed), with Revit's own IFC4 export as the oracle; no SDK source and no decompiled or disassembled code was used.

Activity

  1. added a commit that references this issue on Oct 18, 2026
    6ee3158
  2. DrunkOnJava commented on Oct 18, 2026

    @DrunkOnJava
    Owner

    This shipped in v0.5.0 with your #757: a column a joined slab or roof cuts is exported as its cut body. v0.5.1 is the latest release.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions