export_dxf
Export a CLO3D pattern to a DXF file for CAD, plotters, or cutters, with options for format, units, scaling, rotation, and outline simplification. Returns piece details from the saved file to verify the export.
Instructions
Export the pattern as a DXF for CAD, plotters and cutters (no dialog). Returns the pieces read back from the file (name, size, quantity, outline box in mm) as a check.
Args: file_path: Absolute path ending in .dxf. format: "aama", "astm" or "gerber" (Gerber-flavoured AAMA). metric: Millimetres (True) or inches. box_per_piece: One bounding box per piece instead of one around all pieces. curves_to_straight: Convert curve points to straight points. optimize_curve_points: Drop curve points very close to others. without_grading: Leave grading out. without_baselines: Only the outlines, without base lines. remove_duplicate_notches: Remove duplicate notches. scale: Scale factor. rotate_degrees: Rotate the pieces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| format | No | aama | |
| metric | No | ||
| file_path | Yes | ||
| box_per_piece | No | ||
| rotate_degrees | No | ||
| without_grading | No | ||
| without_baselines | No | ||
| curves_to_straight | No | ||
| optimize_curve_points | No | ||
| remove_duplicate_notches | No |