Skip to content

Slab instance selection from partition element records loses 37 of 80 #212

Closed

Description

@DrunkOnJava

Follow-up to #204 / PR #210.

OST_Floors (-2000032) on 2024_Core_Interior.rvt, measured with the shipped partition_element_records decoder against the ElementId set Revit's full export tags:

stage count
records carrying OST_Floors 146
distinct ElementIds 124
of the 80 exported IFCSLAB ids, recovered 79
after the #204 instance filter (drop family-local, keep highest id per footprint origin) 67
TP / FP / FN after the filter 43 / 24 / 37

Two separate problems:

  1. One exported slab has no OST_Floors element record. 79 of 80, not 80 of 80. Worth finding out which id and why — it may be the Pad:Site Pad, which is a different Revit class.
  2. Footprint-origin de-duplication is wrong for slabs. Columns are point-placed and 2 ft square, so a shared bbox min corner really does mean "same element, two generations". Slabs are large plates that legitimately share a bbox min corner across levels and across the Arch Topping / Structural Slab pair, so the rule collapses distinct slabs. It needs a slab-appropriate identity key — probably the full bbox (all six values) plus the record's own extent, not just the min corner.

The bbox in these records is also the obvious source for the extrusion thickness that floor_slab_extrusion_thickness records as unsupported: max_z - min_z on the record is the slab's own vertical extent. Recovering thickness that way would let the plan-loop IFCSLAB annotations become real solids.

Do not move floors off known_gap in the manifests until a rule reproduces 80 at tolerance 0.

Related: #31, #83, #204.

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