Skip to main content

Module step

Module step 

Source
Expand description

Lightweight, textual analysis of STEP/STP files.

This is intentionally not a CAD parser: it never interprets geometry or B-Rep topology. It only does cheap string scanning to surface useful summary metadata (schema, entity counts, top entity types) for log/diff/status. Deep geometric understanding is deferred to a later Open CASCADE stage.

Structs§

EntityTypeCount
A (entity_type, count) pair, used for the “top entity types” summary.
StepMetadata
Summary metadata extracted from a STEP file via text scanning only.

Functions§

extract
Extract StepMetadata from raw STEP file bytes.
extract_str
Like extract but operates on an already-decoded string.