A dieline API: FEFCO and ECMA dielines at any size
Send POST /api/v1/dielines with a FEFCO / ECMA code (or a Drint type), the length, width and height in mm and a format — SVG, PDF, DXF or CF2 — and get a download link (valid one hour) plus a link that opens the same die in Drint’s editor. Search codes and structures with GET /api/v1/dielines?q=. Plans include 500, 3,000 or 15,000 dielines a month — Starter $49, Business $199 or Scale $599 a month (a year is billed as 10 months); Business can be tried free for 14 days on your own domain, no card.
Steps
- Find the structure.
GET https://drint.io/api/v1/dielines?q=0201or?q=mailer+boxlists the matching codes and structures. - Generate the die.
POST /api/v1/dielineswith{"code":"0201","length_mm":300,"width_mm":200,"height_mm":150,"format":"dxf"}. - Use it. Download the file for your cutting table or software (CF2 and DXF for die makers), or send the customer the
design_urlto design on it in 3D.
What to know
- About 180 FEFCO and ECMA codes, each named back from its structure
- SVG, PDF, DXF and CF2
- Sizes in mm; board thickness allowed for in the panels
- Full reference: drint.io/developers
Questions
Is the size inside or outside?
You give length, width and height in mm; the die is drawn for that size with the board’s thickness allowed for in the panels.
Can I get the dieline free?
People can design on any die in Drint free; die files by API need an API plan or the trial.