pub struct StepWriteOptions {
pub schema: StepSchema,
pub unsupported: StepUnsupportedPolicy,
pub product_name: String,
pub author: String,
pub organization: String,
pub timestamp: String,
pub originating_system: String,
}Expand description
Metadata written to the STEP FILE_NAME header record.
Default values produce deterministic output. They identify the file as
cadmpeg_model, leave the author and organization empty, use cadmpeg as
the originating system, and substitute 1970-01-01T00:00:00 for the empty
timestamp.
Fields§
§schema: StepSchemaApplication protocol and edition declared by FILE_SCHEMA.
unsupported: StepUnsupportedPolicyHandling of IR content the selected writer cannot represent exactly.
product_name: StringThe FILE_NAME name field.
The STEP PRODUCT id and name come from the first IR body name, or
cadmpeg_model when that body has no name.
The sole entry in the FILE_NAME author list.
organization: StringThe sole entry in the FILE_NAME organization list.
timestamp: StringThe FILE_NAME timestamp.
Supply an ISO 8601 value. An empty string is written as
1970-01-01T00:00:00.
originating_system: StringThe FILE_NAME originating-system field.
Trait Implementations§
Source§impl Clone for StepWriteOptions
impl Clone for StepWriteOptions
Source§fn clone(&self) -> StepWriteOptions
fn clone(&self) -> StepWriteOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more