Skip to content

Wall 2177212: its saved mesh is 0.114 ft shorter than Revit's IFC body (RE-340 follow-up) #1407

Closed

Description

@DrunkOnJava

From RE-338/RE-340 (#1401, Measure run 41945943795 at 847c373).

#1401 draws the BIM4LCA office's 14 walls that embed a curtain wall, and whose base Revit raises, from their saved mesh. 13 of the 14 meshes match the volume of Revit's IFC body to 0.02 ft³. Wall 2177212 is 1.0% under at both dates (14.590 against 14.735 ft³ as built, 14.547 against 14.693 at permit), because its strip is 0.114 ft shorter in the mesh than in Revit's IFC body.

Revit's own Qto_WallBaseQuantities.NetVolume and GrossSideArea for this wall equal the mesh, not Revit's IFC body: 14.590085 against the mesh's 14.590083 ft³ as built. The gap is therefore between Revit's IFC tessellation and Revit's own quantities, and the wall stays in the rule.

Done when: the 0.114 ft difference is explained from the bytes, or recorded as a measured negative. Possible causes are the IFC body's own join or extension, or a mesh that predates a later edit. The wall's body is then either Revit's IFC body or documented as Revit's quantities' body.

Activity

  1. added
    area:geometry
    priority:P3
    type:research
    on Nov 5, 2026
  2. DrunkOnJava commented on Nov 12, 2026

    @DrunkOnJava
    OwnerAuthor

    Update from RE-444 (#1799, Measure 43139762399): the newest frame of this wall is Partitions/456 (offset 151870; the frames of 374, 410, 424 and 449 share one box 11.79462 by 0.38714 by 11.62073 ft, the newest is 8.37270 ft tall), and with it the exporter no longer draws the wall from its saved mesh.

    Neither frame's record box is Revit's body (taller in every frame: 11.62 and 8.37 ft against 0.17 ft), and the only body that matched it was the older frame's saved mesh. This is the one wall RE-444 draws worse; it is tracked here with the rest of this wall's body. The other costs of RE-444 are in #1802 (two walls' types) and #1803 (two mullions).

  3. 1 remaining item

  4. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    A fact for this one, read on main (e6201f4c) with probe_1385_wall_saved_mesh (Measure 43662517205): wall 2177212's saved graphics decode with status partial_saved_graphics on both files. That is 6 primitives and 12 triangles with 8 unbounded faces, and the volume (14.5901 ft³ as built, 14.5475 at permit) and box are as above, with plan x 202.4884 to 213.9754 as built and 202.5219 to 213.9754 at permit.

    This does not explain the 0.114 ft by itself. Revit's own NetVolume equals the decoded mesh to 1e-6 ft³ (this issue's body), so the faces the walk leaves unbounded are not a missing part of the solid Revit measures. The difference stays between Revit's quantities, which agree with the mesh, and Revit's IFC tessellation, which is longer. What would explain it is still whichever of the two causes in the body leaves a trace: an extension or join applied only when the IFC body is made, or an edit after the mesh was saved. The unbounded faces are the place to look first: which faces they are, and whether bounding them moves the strip's end.

  5. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Explained: Revit's IFC body is the wall's layers drawn one by one, and two of them run past the wall's Axis. Revit's own quantities and the saved mesh stop every layer at the Axis. Measured with tools/re/wall_axis_body_vs_ifc.py (branch research/1407-wall-axis-body, 11cc5777, not to land) on Revit's own IFC4 exports of the office, Measure 43684476177.

    Axis. Revit's export writes the wall's Axis as a two-point curve of 11.4870 ft as built and 11.4534 ft at permit. That is the saved mesh's length on both dates, as in the comment above: plan x 202.4884 to 213.9754 as built, 202.5219 to 213.9754 at permit. The mesh and the Axis agree.

    Body. At permit, Revit's Body is three IfcExtrudedAreaSolids, one per layer, each a profile 3.2808 ft high:

    layer thickness profile length past the Axis
    1 0.0853 11.4534 0
    2 0.0853 11.7552 0.302
    3 0.2165 11.5388 0.085

    As built the same body is written as three IfcPolygonalFaceSets, reaching 0.302 ft before the Axis's start at its farthest.

    The volumes agree to the last digit:

    • the three layers at the Axis length: (0.0853 + 0.0853 + 0.2165) × 3.2808 × 11.4534 = 14.546 ft³, the saved mesh's 14.5475 and Revit's own NetVolume;
    • the two extensions: 0.0853 × 3.2808 × 0.302 + 0.2165 × 3.2808 × 0.085 = 0.145 ft³, the whole gap to Revit's IFC body (14.693).

    So the "0.114 ft shorter strip" is not one end of one solid. Two finish layers wrap the join at the wall's start in Revit's IFC tessellation alone, the layer-by-layer join cleanup of RE-70 and RE-71. Revit's quantities are taken from the solid without them, and so is the mesh rvt-rs draws.

    The wall's native record holds VerticalExtensionOfLayersGStep and WallJoinTweakGStep, which may be where the IFC layers' extension comes from. Reading them would be a layered-body rule for this kind of wall, not a fix to this one.

    Where that leaves the wall. The done-when gives two ways out. This is the second: the wall's body is Revit's quantities' body, and RE-340 will say so. Its rule stays as it is. The wall is drawn from the saved mesh, which equals Revit's NetVolume to 1e-6 ft³, and is 1.0% under Revit's IFC body by these two layer extensions. A docs PR will add the measurement to RE-340 and close this issue.

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

    area:geometrypriority:P3type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions