Skip to content

LTYPE dash shape flag: the DWG sets 8 where the export writes 2 #242

Open

Description

@DrunkOnJava

Spec: §20.4.58 LTYPE (BS shapeflag, DXF 74).

The DXF value oracle (#99) finds GAS_LINE (handle 6B2) of the ACadSharp sample_AC1015 to sample_AC1021 saves with dashes[1].shape_flag = 10 (0x0A) where AutoCAD's export writes 74 = 2 (an embedded text element, 9 = GAS). Every other dash field of that linetype agrees, and all other LTYPEs agree on every release.

§20.4.58 documents bits 1, 2 and 4 only. Either the export masks a DWG-only bit 8, or the field is read from the wrong place on R2000-R2007 (on R2010+ the same linetype is not paired by the scorer yet: check).

Acceptance

  • Bit 8 explained (masked by the export, documented in tables::ltype) or the decoder fixed, with the oracle row = on every release

Activity

  1. added
    type:research
    area:tables
    area:oracle
    priority:P2
    on Oct 26, 2026
  2. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Status against the current oracle (CI run 40503137263 at 9292ba3, artifact corpus-measurement, oracle.log and oracle.tsv): LTYPE dashes[1].shape_flag (group 74) is different in 1 of 5 records on each of R2000, R2004, R2007 and R2010, and equal on R2013 and R2018 (26 equal, 4 different over all releases).

    That answers the check the body leaves open: on R2010 the scorer now pairs the linetype and it differs as well, while the R2013 and R2018 saves agree. So the DWG-only bit 8 shows in the R2000 to R2010 saves and not in the later ones. The matrix gives counts, not the record or its value, so whether R2010 holds the same 10 as R2000 to R2007 is not yet shown (dxf_oracle --details prints it). Acceptance is unchanged: bit 8 explained (masked by the export, or a decoder fix) with the oracle row = on every release.

  3. added
    release:R2000
    release:R2004
    release:R2007
    release:R2010
    on Oct 27, 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:oraclearea:tablespriority:P2release:R2000release:R2004release:R2007release:R2010type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions