What problem does it solve? Creating production-ready 2D DXF drawings for laser, plasma, waterjet, or CNC cutting normally requires manual CAD drafting and separate validation passes. This Skill turns natural-language requirements or existing CAD geometry into validated DXF files generated from Python build123d sources, with checks enforced during generation. ## Core Features & Use Cases - Three generation workflows: draft drawings from scratch (gaskets, panels, templates), derive flat patterns from generated STEP parts, or flatten imported vendor STEP files with content-hash staleness tracking. - Built-in validation: cut-layer profiles must close, degenerate and duplicate entities are rejected, and open geometry is only allowed on bend/engrave layers — all enforced before the file is written. - Deterministic outputs and rendering: output bytes are a function of geometry, and cadgen dxf snapshot renders any DXF to a PNG for visual review. - Use Case: Ask for a mounting plate flat pattern with kerf compensation derived from an existing 3D bracket model; the Skill writes the drawing script, builds the DXF, validates it, and hands it to the CAD viewer. ## Quick Start Use the dxf skill to create a gasket drawing 60 by 40 millimeters with a 4.5 millimeter center hole and validate the generated DXF file.