pub struct StepImportReport {
pub solids: Vec<BrepSolid>,
pub failed: usize,
pub first_error: Option<String>,
pub stated_precisions_mm: Vec<f64>,
pub diagnostics: KernelDiagnostics,
}Expand description
What import_step_report returns: the bodies, how gracefully the file
imported, and the import’s diagnostics.
Fields§
§solids: Vec<BrepSolid>One solid per body that reconstructed, in file order.
failed: usizeThings that did not come in (skipped, not fatal): a body that failed to
reconstruct, an occurrence whose transform failed, or a mapping that was
refused (mapped::StepMappedItemError).
first_error: Option<String>The first such failure’s text, when failed > 0.
stated_precisions_mm: Vec<f64>Every precision the file states, in millimetres, ascending — see
parse::stated_precisions_mm. Empty when it states none.
diagnostics: KernelDiagnosticsThe import’s diagnostics: measurements always, plus one
import.stated_precision_inconsistent warning when the file’s stated
precision is far under the deviation its own geometry shows
([precision::stated_precision_diagnostics]). Informational only —
acceptance never depends on it.