Skip to content

VISUALSTYLE / MATERIAL / PROPERTYSET_DATA decode only a field prefix, so they cannot be dispatched (216 + 27 records) #38

Closed as not planned

Description

@DrunkOnJava

Found while fixing #33.

objects::acad_visual_style, objects::acad_material and objects::acad_property_set_data deliberately read the first ~15-25 fields of their record and stop. That means they cannot satisfy the objects::modern::ObjectStream::finish boundary check every dispatched object decoder is held to, so the dispatcher leaves them Unhandled rather than counting a partially-read record as decoded.

On the 19-file corpus that is:

Class Records
VISUALSTYLE 216
MATERIAL 27
PROPERTYSET_DATA 0 (none in the corpus)

VISUALSTYLE is the largest single remaining lever across the corpus as a whole. Both records need their full field lists derived against real bytes — the budget is available per record from examples/probe_object_layout.rs (e.g. arc_2013.dwg handle 42, 1302 bits) — before they can be wired into dispatch.

Note the R2018 sample's VISUALSTYLE records additionally need #37 first, since that file's class map does not resolve.

Activity

  1. DrunkOnJava commented on Oct 21, 2026

    @DrunkOnJava
    OwnerAuthor

    Superseded. Its three classes are tracked separately now: VISUALSTYLE is decoded on every release (456 of 456 corpus records; #47, #73), MATERIAL's field list is #49, and PROPERTYSET_DATA (no corpus record) is a row of #152, the issue for classes the spec does not prescribe, which holds all of them to the same bar (closes on every record of every release, values equal to AutoCAD's DXF).

  2. added
    type:feature
    area:objects
    and removed on Oct 21, 2026
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:objectstype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions