Expand description
Merge command — combines multiple 3MF files into a single output file.
This module implements the core merge engine for the 3mf merge command.
The merge pipeline:
- Expand glob patterns in inputs
- Load all input files with full attachments
- Check for secure content (signing/encryption) — error if found
- Compute ID offset for each file (max ID in merged so far + 1)
- Remap all ResourceId cross-references in each model
- Merge attachments with path deduplication
- Update texture/displacement paths after attachment remap
- Combine all resources into one merged Model
- Apply placement (plate-per-file or single-plate)
- Write merged model to output
Enums§
- Pack
Algorithm - Packing algorithm for single-plate mode.
- Verbosity
- Verbosity level for merge output.
Functions§
- run
- Entry point for the merge command.