skppy.parser.entities

Parser for the entities section (tag 0x1388) of model.dat.

Produces populated Entities, Vertex, Edge, Face, Loop, EdgeUse, ComponentInstance, Group, and Image objects.

skppy.parser.entities.parse_entities(payload: bytes) Entities[source]

Parse a 0x1388 entities payload and return an Entities object.

Parameters:

payload (bytes) – Raw payload bytes of a TlvTag.ENTITIES (0x1388) TLV record.

Returns:

Populated Entities object. Any section absent in the payload yields an empty list in the corresponding attribute.

Return type:

Entities