Analyse a DXF for laser, plasma or waterjet cutting
analyse_dxf_for_cuttingReads a flat 2D DXF (text DXF, as exported by AutoCAD, Fusion, Inventor and most CAD) and returns the parts, cut length, number of pierces and drawing problems (duplicate lines, open contours, near-miss gaps, holes smaller than the thickness). With a cutting speed it also returns the cutting time per part, including acceleration and pierces; with pricing it returns a price. Sheet nesting is not included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dxf | Yes | The DXF file content as text | |
| units | No | Override the drawing units if the file does not state them | |
| machine | No | A preset name (laser, plasma, waterjet) or {accel_mm_per_s2:[x,y,z], corner_tolerance_mm} | |
| pricing | No | Optional: turn the result into a price | |
| material | No | For a material cost from the part area: {density_g_cm3, price_per_kg, utilisation_percent (expected sheet use, default 70)} | |
| quantity | No | How many of each part | |
| thickness_mm | No | Material thickness, used to flag small holes | |
| pierce_time_s | No | ||
| cut_speed_mm_per_min | No | Cutting speed for this material and thickness | |
| machine_rate_per_hour | No | Machine cost per hour, for pricing |