Skip to content

M4-02: Recover wall geometry #30

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

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

Scope

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

  • Decode wall location curve, base level, top constraint/height,
    thickness, flip/orientation, and curve type.
  • Support initially:
    • straight wall
    • arc wall
    • rectangular extrusion
  • Defer complex BRep with explicit diagnostics.

Acceptance criteria:

  • Known corpus walls export as IfcWall with IfcShapeRepresentation.
  • Viewer shows walls in correct rough positions.
  • Revit 2023 and 2024 wall count tests pass.

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 / b52397b (OPS-03 / #99).

    Shipped

    • 2023 Einhoven ArcWall records decode and emit rough IfcWall swept solids (src/arc_wall_record.rs, src/ifc/mod.rs, tests/arc_wall_corpus.rs, real-IFC CI gate)
    • Known-count baseline pins current IFCWALL decoder output on Einhoven (tests/fixtures/project-counts/revit-ifc5-einhoven.json)

    Remaining vs AC

    Keep open. Next: #23 (2024 envelope) + #81 (recall) + #88 (compound layers).

  3. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress note from production iter_elements wiring (#136):

    Not closing these issues — remaining work is schema-driven partition decode beyond ArcWall.

  4. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress note from partition schema MVP (partition_schema_mvp → production iter_elements, PR #140):

    Shipped this iteration

    • M4-05: Recover levels and storey assignment #33 Levels: production iter_elements yields ≥4 Level DecodedElements on Einhoven 2023 (elevation + building-storey names from ArcWall trailers + partition strings). Geometry recover_level_elevation recovers for those rows.
    • M4-03: Recover floor and slab geometry #31 Floors: ArcWall-excluded closed plan polylines surface as Floor with m_boundary; recover_floor_boundary recovers ≥1 loop on Einhoven (source PartitionPlanLoop). Not ElemTable-bound; not full slab extrusion AC.
    • M4-02: Recover wall geometry #30 Walls: still ArcWall-only for partition geometry (24 curves on Einhoven). Schema-field Wall / 2024 ArcWall tag drift unchanged.
    • M4-04: Recover doors and windows with host relationships #32 Doors/Windows: 2024 ArcWallRectOpening index rows merge as class ArcWallRectOpening with related-id / unvalidated host provenance — not typed Door/Window. Einhoven 2023 remains 0 doors/windows (honest).
    • Also: Material (≥41) + Room (strict space names) from partition display strings.

    Keep open

    Not closing #30–#33.

  5. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress from PR #141 (2a463d3, post-#140):

    Advanced

    • IFC/viewer now surface ArcWall location curves as before (24 on Einhoven) and report schema_field_wall_instances as an explicit unsupported feature (no invented schema-field Wall rows).
    • Materials no longer mis-emit as PROXY building elements.

    Still open vs AC

    Keeping open. #23 skipped this iteration (no measurable 2024 envelope decoder without boiling the ocean).

  6. 4 remaining items

  7. added
    priority:P1
    research-critical
    on Aug 30, 2026
  8. DrunkOnJava commented on Aug 30, 2026

    @DrunkOnJava
    OwnerAuthor

    Relabelled P0 → P1 + research-critical (audit finding GOV-002: P0 is reserved for immediate release or security impact; this item is gated on format evidence / an oracle, which engineering time alone does not change). Scope and status are unchanged.

  9. DrunkOnJava commented on Sep 19, 2026

    @DrunkOnJava
    OwnerAuthor

    Closed by 61c05d3 (#211) and 62d7d85 (#215). The Revit 2024 partition element-record rule recovers 360 of 360 IfcWall on 2024_Core_Interior.rvt as an exact ElementId set with no false positives and no misses, gated at tolerance 0 in tests/fixtures/project-counts/2024-core-interior-slim.json. The body carries the wall's real thickness (thin plan extent equals the IfcWallType nominal width on 360 of 360) and the plan run left by its joins, which puts 336 of 360 walls inside 1e-3 ft of Revit's own export in world coordinates, up from 27. Evidence: reports/element-framing/RE-21-partition-element-record-instance-rule.md and RE-26-world-coordinate-residuals.md; the 31 remaining over-trimmed ends are tracked separately in #238.

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