Skip to main content

Crate cadmpeg_codec_sat

Crate cadmpeg_codec_sat 

Source
Expand description

Decode bare Autodesk ShapeManager (ASM) B-rep streams.

A bare stream is an ASM serialization outside any container: a binary .sab/.smb SAB stream or a text .sat/.smt stream. Content selects the path, never the file extension: the ASM BinaryFile magic selects the binary framer and the ASCII header lines select the text parser. Both paths decode through the shared kernel decoders in cadmpeg_asm::brep into the neutral model arenas, with the kernel-side native records under the sat namespace.

Spatial ACIS 217 and 218 binary streams use the verified 32-bit SAB grammar. Other ACIS binary header bands keep an admitted sat: host layer and recover through an unverified acis: kernel layer that names the nearest verified grammar and charges the recovery loss. Inspection and decode emit both layers. A text stream frames on either branch terminator, and its decode outcome decides whether the report carries geometry.

Support: L3 (ladder).

Structsยง

SatCodec
Bare ASM stream codec.