cleanup_document
Remove tiny or empty objects from SVG embroidery designs to prevent thread breaks. Dry run reports removals without applying changes.
Instructions
Remove tiny/empty objects that would cause thread breaks. dry_run=True (default) only reports what would be removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| svg_path | Yes | ||
| remove_fills | No | ||
| remove_satins | No | ||
| remove_strokes | No | ||
| output_svg_path | No | ||
| fill_threshold_mm2 | No | ||
| satin_threshold_mm | No | ||
| remove_empty_groups | No | ||
| stroke_threshold_mm | No |