The problem

SVG artwork and CAD workflows use different geometry and dimension conventions. A useful conversion needs more than a format change: users need to confirm physical size and inspect the exported contours.

What the project does

SVG to DXF converts SVG vector artwork into downloadable 2D DXF files. Users confirm dimensions in millimeters or inches, choose DXF R2000 or R12 and a physical curve tolerance, then preview geometry read back from the actual DXF. The interface reports open contours, exact duplicate segments, and unsupported SVG features. Single and batch uploads are supported, and ready batch results can be downloaded as a ZIP.

How it is built

The TypeScript geometry core handles strict XML parsing, affine transforms, bounded curve approximation, and DXF output. An independent DXF parser reads the generated file for preview and comparison. The React interface uses Vite; Hono API routes run on Cloudflare Workers with Durable Objects. Uploaded files and geometry use private R2 storage, while D1 holds relational metadata and the credit ledger. Public pages are generated at build time.

Access and limitations

Guests can use a daily free allowance, with optional one-time credit packs for additional conversions. Uploaded files remain private and server access expires 24 hours after upload. This is a deterministic geometry converter. It does not trace bitmaps, convert text directly, automatically repair contours, generate 3D models, or create machine instructions. Text must be converted to paths and images traced before uploading. Users should check dimensions and machining settings in their own CAD or CAM software before manufacturing.

Built With

Share this project:

Updates