Skip to content

PRC: PRC_TYPE_TOPO_BrepDataCompress / PRC_TYPE_TOPO_Context tailing 5 bits #752

@ralovich

Description

@ralovich

Additional context
This is written against the PRC ISO standard 14739-1, First edition, dated 2014‐12‐15.

Describe the bug
My test data collection has a few cases where parsing an additional 5 bits of (dummy) data at the tail end of PRC_TYPE_TOPO_BrepDataCompress (or at the tail end of PRC_TYPE_TOPO_Context - as PRC_TYPE_TOPO_Context.number_of_bodies is 1 in these samples) makes the parser succeed.

I am assuming that there are conditional field(s) in either PRC_TYPE_TOPO_BrepDataCompress or PRC_TYPE_TOPO_Context that my parser misses. Could you please attach a screenshot of PRC_TYPE_TOPO_BrepDataCompress and PRC_TYPE_TOPO_Context from the current working document of the spec?

Two of the offending samples are https://github.com/ralovich/prc-db/blob/main/prcs/3D_PDF_Engineering_Spec_Sheet.stream-348.prc and https://github.com/ralovich/prc-db/blob/main/prcs/3D_PDF_PROSTEP-Camera_Features-1.stream-134.prc.

Metadata

Metadata

Assignees

Labels

PRCISO 14739-1:2014bugSomething isn't correct

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions