Skip to content

M4-04: Recover doors and windows with host relationships #32

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

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

Scope

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

  • Decode family instance placement, host wall id, width, height, sill
    height, hand/facing flips.
  • Emit:
    • IfcDoor
    • IfcWindow
    • IfcOpeningElement
    • IfcRelVoidsElement
    • IfcRelFillsElement

Acceptance criteria:

  • Known corpus host walls contain openings for doors/windows.
  • Door/window counts match manifest.
  • Viewer selection shows host relationship.

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

    • Door and Window decoder registrations exist (src/elements/openings.rs)
    • IFC writer supports IfcDoor / IfcWindow + opening/void/fill relationship emission when model inputs are wired (src/ifc/step_writer.rs, from_decoded)

    Remaining vs AC

    Keep open. Next: #89 + #91 (do not treat writer capability alone as M4-04 completion).

  3. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    See progress note on #30 (PR #136). Door/Window host recovery API is fail-closed; corpus production path does not yet yield host ids — not closing.

  4. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress (#140 / partition_schema_mvp):

    • Revit 2024 ArcWallRectOpening 60 B index rows now merge into production iter_elements as class ArcWallRectOpening with m_related_id_a / m_related_id_b / unvalidated m_host_id provenance (capped; Core Interior ≥50 in tests).
    • Not relabeled as typed Door / Window — fail closed. Einhoven 2023 still has 0 opening-index / Door / Window hits.

    Still open vs AC: door vs window discrimination, host wall ElementId join, IfcOpeningElement / voids / fills, viewer host relationship. Keeping open.

  5. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress from PR #141 (2a463d3):

    Shipped

    • 2024 ArcWallRectOpening related_id_a/b are ElemTable-confirmed (m_related_id_*_in_elem_table, m_host_elem_table_confirmed / provenance). Corpus: ≥1997/2000 under test caps; production recovers ~3167 on Core Interior.
    • Still class ArcWallRectOpening — not relabeled Door/Window.
    • IFC does not flood STEP with hostless IFCOPENINGELEMENT stubs; unsupported feature opening_index_to_ifc_openingelement_host_join tracks that gap. Door/Window discrimination remains unsupported.

    Evidence note

    • related_id pairs are almost always (even, even+1) with symmetric uniqueness — not sufficient to claim host Wall vs opening instance, nor Door vs Window.

    Keeping open vs AC (typed Door/Window + voids/fills + viewer host selection).

  6. 2 remaining items

  7. added
    priority:P1
    research-critical
    and removed
    priority:P0
    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. added a commit that references this issue on Sep 19, 2026
    dcb71c6
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