Expand description
Split command — extracts individual objects from a 3MF file into separate output files.
This module implements the core split engine for the 3mf split command.
The split pipeline:
- Load the source 3MF file with full attachments
- Check for secure content (signing/encryption) — error if found
- Collect all split targets (by build item or by object resource)
- Apply –select filter to cherry-pick specific items
- Phase 1 — Trace dependencies for ALL items before writing any files (dry-run output or validate completeness)
- Phase 2 — Write each split model to a separate output file
- Print summary of written files
Enums§
- Split
Mode - Determines how the source 3MF is partitioned into output files.
Functions§
- run
- Entry point for the split command.