Skip to content

§20 family: Blocks, inserts and the block table (§20.4.6 to §20.4.10, §20.4.51, §20.4.52) #141

Open
1 of 1 issue completed

Description

@DrunkOnJava

Spec: ODA Open Design Specification for .dwg files v5.4.1, §20.4.6, §20.4.7, §20.4.8, §20.4.9, §20.4.10, §20.4.51, §20.4.52.

Sections and their state on main (2026-10-21)

Section State Code Note
§20.4.6 BLOCK (4) (p. 111) closes src/entities/block.rs
§20.4.7 ENDBLK (5) (p. 111) closes src/entities/endblk.rs
§20.4.8 SEQEND (6) (p. 112) closes src/entities/seqend.rs
§20.4.9 INSERT (7) (p. 112) closes src/entities/insert.rs
§20.4.10 MINSERT (8) (p. 113) decoder src/entities/insert.rs No MINSERT in the corpus.
§20.4.51 BLOCK CONTROL (48) (p. 157) closes src/objects/control.rs
§20.4.52 BLOCK HEADER (49) (p. 158) closes src/tables/block_record.rs Names resolve through the BLOCK sentinel (#70); R13/R14 stay unresolved (#84).

closes comes from the boundary checks on the local 19-file corpus (STATUS.md, 2026-08-30). It is re-measured on the public corpus in CI by the 0.2.0 measurement epic, and no section is complete until its values equal AutoCAD's own DXF export.

Acceptance, for every section above

  • Every field of its prescription is read, with every version branch the section names
  • Where the section prints an example, its bytes are a committed fixture and decode to the values printed
  • The field list ends on the record's exact data-stream boundary (and string/handle-stream boundaries on R2007+) on every corpus record of the type, on every release band
  • Every value equals AutoCAD's DXF export of the same drawing, matched by handle (DXF group 5), with the scorer from the oracle epic
  • The corpus holds at least one record of the type on each release band, R13 to R2018; a band without one is recorded on the corpus epic, not assumed
  • Its row in docs/spec-coverage.md moves to complete, with the evidence linked

Subtasks

  • §20.4.6 BLOCK (4)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.7 ENDBLK (5)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.8 SEQEND (6)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.9 INSERT (7)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.10 MINSERT (8)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.51 BLOCK CONTROL (48)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018
  • §20.4.52 BLOCK HEADER (49)
    • R13
    • R14
    • R2000
    • R2004
    • R2007
    • R2010
    • R2013
    • R2018

A subtask becomes its own issue when someone picks it up; that issue quotes the section's field list and names the corpus records it is measured on.

Parent: #138

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:entitiesEntity prescriptions in spec §20.4priority:P1On the path of the current milestonetype:specImplements or verifies a numbered section of ODA spec v5.4.1

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions