Skip to main content

Module header

Module header 

Source
Expand description

FileHeader — the Part 21 HEADER section, shared by reading and writing.

Every STEP file opens with three HEADER records. FILE_DESCRIPTION says what the file contains; FILE_NAME records where it came from — file name, timestamp, authors, organizations, the STEP processor, and the originating CAD system; FILE_SCHEMA names the schema. FileHeader models all three and lives on the StepModel: reading surfaces the source file’s header as StepModel::header, and authoring fills it through StepBuilder::header for the written file.

Structs§

FileHeader
The Part 21 HEADER section (FILE_DESCRIPTION + FILE_NAME + FILE_SCHEMA). Reading decodes it from the source file; the builder fills it from user input plus its automatic timestamp and preprocessor stamp. The default is the customary all-empty header.