Skip to content

M4-03: Recover floor and slab geometry #31

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

Source: https://github.com/DrunkOnJava/rvt-rs/blob/main/TODO.md#L571
Tracking commit: 1ec8105

Scope

Labels: priority:P0, type:feature, area:geometry, area:ifc

  • Decode floor boundary loops, thickness, level, and type.
  • Export IfcSlab with polygon profile extrusion.

Acceptance criteria:

  • Known corpus floors export as typed slabs with shape.
  • Degenerate or unsupported boundaries are reported, not silently
    dropped.

Definition of done

  • The TODO acceptance criteria for this section are implemented or explicitly superseded by a linked decision.
  • Tests, fixtures, or documentation are added at the level appropriate to the change risk.
  • User-facing behavior and limitations remain honest in README/docs/viewer messaging.
  • Relevant CI checks pass before the issue is closed.

Activity

  1. added
    area:geometry
    area:ifc
    priority:P0
    type:feature
    on Apr 25, 2026
  2. DrunkOnJava commented on Aug 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Triage / v0.2.0+ progress (2026-08-28) — keep open

    Audit against main @ 21aa0e0 (OPS-03 / #99).

    Shipped

    • Floor / FloorType decoder scaffolding exists (src/elements/floor.rs)
    • IFC writer can emit slabs/extrusions in synthetic / from_decoded paths
    • Count fixture marks floors as known_gap on 2024 Core Interior with tracking toward real boundary recovery

    Remaining vs AC

    Keep open. Next: #87 then re-measure #83.

  3. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    See progress note on #30 (PR #136). Floor boundary recovery API + tier1 honesty are in place; real-project Floor sketch recovery from partitions remains open — not closing.

  4. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress (#140 / partition_schema_mvp):

    • Production iter_elements now emits Floor DecodedElements from ArcWall-excluded partition plan loops; recover_floor_boundary recovers ≥1 closed loop on Einhoven 2023 (FloorBoundarySource::PartitionPlanLoop).
    • 2024 Core Interior also yields capped floor-loop candidates.

    Still open vs AC: not ElemTable-bound, not exported as typed IfcSlab with validated counts, degenerate-boundary diagnostics for unsupported loops still thin. Keeping open.

  5. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress from PR #141 (2a463d3):

    Shipped

    • Partition plan-loop Floor rows now export as boundary-annotated IFCSLAB (Einhoven 2, Core Interior 64) with RvtFloorGeometry provenance (ThicknessResolved=false).
    • Geometry diagnostics use floor_boundary_annotation_only instead of dumping slabs into hard unsupported-curve buckets.
    • m_elem_table_bound=false documented on Floor rows — nearby u32 hits are ambiguous; no invented Floor ElementIds.

    Still open vs AC

    • Floor↔ElemTable id binding
    • Slab extrusion / thickness (unsupported feature floor_slab_extrusion_thickness)
    • Degenerate-boundary reporting beyond current area/span gates

    Keeping open — not full slab geometry AC.

  6. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Probe skip (2026-08-29, after PR #141 / alongside #143)

    Re-checked Floor↔ElemTable bind + thickness on magnetar Einhoven / Core Interior:

    • Plan-loop Floor rows still have id: None and m_elem_table_bound=false by design.
    • Nearby u32 candidates remain ambiguous — no fail-closed join to ElemTable Floor ids without inventing ids.
    • No new thickness signal in partition plan-loop recoveries (ThicknessResolved=false / floor_slab_extrusion_thickness still correct).

    Not advancing #31 in this pass — keep open; next needs a falsifiable ElemTable↔loop spatial/containment hypothesis (RE-15 F87b track), not more name/count wiring.

  7. 5 remaining items

  8. DrunkOnJava commented on Sep 19, 2026

    @DrunkOnJava
    OwnerAuthor

    Closed by 228e386 (#212) and d55e650 (#231). RE-22 recovers 80 of 80 IfcSlab plus 20 of 20 IfcShadingDevice as exact ElementId sets, with the extrusion thickness read from the record bounding box (equal to Revit's IfcExtrudedAreaSolid.Depth on 79 of 80, summing to it on the 80th). RE-25 closes the profile half: each boundary line of a Revit sketch is its own OST_SketchLines element record, and chaining them by closure reproduces all 122 loops, 80 outer plus 42 rectangular voids, with a worst vertex deviation of 1.563e-12 ft against Revit's export. Degenerate cases are reported rather than dropped: the 20 rotated shading plates decline closure and keep the record box with ProfileResolved: false.

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:geometryarea:ifcpriority:P1research-criticaltype:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions