HELLO, CREATORSGood work starts with a great skill.Find yours

DXF Drawing

earthtojake/text-to-cad

Build and validate DXF profiles, gaskets, panels and cut layouts from Python sources or CAD geometry.

Latest update at:

21,056Stars2,077ForksRepository last pushed

About this Skill

Create a drawing from scratch or derive a flat profile from a generated or imported CAD part. Keep editable Python source, regenerate the DXF, check its serialized geometry and review it in the viewer. DXF files are cutting or drawing artifacts; use Engineering Drawing for a dimensioned PDF sheet.

Why we picked it

Useful for dimensioned 2D fabrication files: it checks closed cut profiles, duplicate geometry and drawing units as part of generation.

What it helps with

  • Make a gasket, mounting panel, template or laser-cut outline with explicit units and layers.

How to use this Skill

  1. Define the drawing

    Record outline dimensions, holes, slots, layers and units; choose a new drawing or a projection from CAD.

  2. Generate the DXF

    Use the documented Python drawing contract and run the source to write the drawing and its built-in validation.

  3. Verify the exported drawing

    Inspect dimensions and layers with ezdxf, check closed contours and duplicate cuts, then review the saved drawing visually.

Official DXF Drawing workflow

Try a first task

  1. Send a concrete brief

    Provide the real input files and replace example dimensions or machine details with your own.

    Create a millimetre DXF for a 100 × 60 mm mounting panel with four 5 mm corner holes. Put the closed cutting geometry on CUT, and validate the saved file.

Official DXF Drawing workflow

Install the shared library

Use the official text-to-cad plugin for your agent, or install the complete Skill folders with the Skills CLI below. Choose one route in each app, then restart it. The plugin includes a CAD server; Skills-only installations use a browser viewer. Keep the bundled references and scripts with each entrypoint.

CommandWhat it helps with
npx skills add earthtojake/text-to-cad#latestInstall the released Skill library; the CLI asks which agents and installation scope to use.

Official installation and update instructions

Scope and limits

Passing drawing checks does not establish a supplier-specific cutting or bending approval; use the applicable fabrication review.

Official DXF Drawing workflow

Before you use it

  • Install uv and allow the first runtime download. CAD commands use the Python and cadgen version pinned by the installed Skill; snapshots also download a browser on first use.

Supported agents

Claude CodeCodex CLICursorGemini CLIGrok Build

Frequently asked questions

Do I install this as a separate product?

This is one task in the shared text-to-cad library. Use the official plugin or the complete Skill installation, then select this workflow for the task.

Is the Skill free?

The upstream code is MIT-licensed. Your agent provider, hardware, materials and any fabrication service can have separate costs.

Sources & references

Original sources are linked below. Practical starting points are editorial suggestions from SkillHey.