# Generate a dieline from a structure and size

> Create a parametric flat blank, inspect cut and fold lines and move the exact setup into the packaging editor.

Canonical: https://mockupgenerator.app/learn/dieline-generator
Last updated: 2026-11-10

Print production · 7 min read

## Before you start

**What goes in:** The intended package structure, dimensions, unit, dimension reference and board.

**What comes out:** A generated flat dieline and folded preview, with the setup available in the editor for design and export.

**Example, FABLE: generate the playing-card carton before its artwork:** Build a practice tuck carton for a compact illustrated card deck. Establish the parametric blank before drawing the wraparound artwork so later board or size changes do not invalidate the design.

Start here: [Open the dieline generator](https://mockupgenerator.app/tools/dieline-generator)

![FABLE: generate the playing-card carton before its artwork](https://mockupgenerator.app/learn/media/dieline-guide-dieline-generator.webp)

*A separate worked example for this guide, with creative practice artwork and illustrative comparisons.*

Walkthrough video: https://www.youtube.com/watch?v=4eR6lu5L_TY — English narrated worked example. Diagrams explain the expected result; reproduce the exercise and inspect your own application output.

- [FABLE SVG practice artwork](https://mockupgenerator.app/learn/examples/dieline-generator/artwork.svg) - Creative practice input for this guide.
- [Worked-example worksheet (JSON)](https://mockupgenerator.app/learn/examples/dieline-generator/exercise.json) - Exercise settings and verification checklist for this guide.
- [Before-and-after concept illustration (SVG)](https://mockupgenerator.app/learn/examples/dieline-generator/comparison.svg) - Illustrated concept comparison, not an application export.
- [Download this example’s transcript](https://mockupgenerator.app/learn/media/dieline-guide-dieline-generator-transcript.txt) - Chaptered English narration for this specific worked example.

## FABLE: generate the playing-card carton before its artwork

Build a practice tuck carton for a compact illustrated card deck. Establish the parametric blank before drawing the wraparound artwork so later board or size changes do not invalidate the design.

**Prepare these inputs**

- Practice deck with its wrap: 63 × 23 × 88 mm.
- Initial Inside target: 65 × 25 × 90 mm, adjusted after the physical test.
- A suitable folding-carton style and board.

**Settings to try and what changes**

| Control | Value | Effect |
| --- | --- | --- |
| Structure | Select a tuck construction suited to the deck | A similar-looking folded shape can have different closure and glue geometry. Confirm the actual style before using its net. |
| Inside / mm | 65 × 25 × 90 mm | Adds 2 mm total allowance per axis around the practice deck. This is a learning starting point, not a validated production tolerance. |
| Board / Caliper | Set before preparing full-dieline artwork | Structural compensation can move score positions and change panel dimensions. |
| Flat / Folded / Continue in editor | Inspect both interpretations and carry the setup onward | The standalone generator establishes the shape. The full editor supplies detailed parameters, artwork, checks and applicable exports. |

**Follow this specific job**

1. **Choose the construction** — Use the generator to select the suitable tuck carton. Read its reference dimensions and set the board.
2. **Set the practice cavity** — Choose Inside, millimetres and 65 × 25 × 90 mm. Check the dimension readouts and warnings.
3. **Read the entire blank** — Inspect tabs, flaps, glue area and closure in the flat preview, then compare the folded form. Do not infer the net from only the front face.
4. **Design on the final setup** — Continue into the editor, name the project and place the FABLE illustration. If size or caliper changes, regenerate/recheck the blank before preparing full-dieline artwork.

**Before: identify the problem**

- Artwork is laid out on a generic net before the deck is measured.
- Board is changed after panel-spanning artwork is approved.

**After: the result to aim for**

- A known structure, board and cavity define the artwork template.
- Flat closures and folded orientation are inspected together.

**Inspect your result**

- The practice deck fits after a physical test.
- All flaps and glue regions are inspected.
- Artwork uses the matching final geometry.

**Files for this example**

- [FABLE SVG practice artwork](https://mockupgenerator.app/learn/examples/dieline-generator/artwork.svg) - Original square vector input, 100 × 100 mm. Fictional branding; does not contain an approved dieline.
- [Worked-example worksheet (JSON)](https://mockupgenerator.app/learn/examples/dieline-generator/exercise.json) - Readable brief, settings, steps and expected checks. This is a worksheet, not an importable .foldline project.
- [Before-and-after concept illustration (SVG)](https://mockupgenerator.app/learn/examples/dieline-generator/comparison.svg) - Explanatory illustration of the problem and intended result; not an application screenshot or a production export.

These are fictional training jobs. Artwork and concept diagrams are learning inputs; expected results below are instructions to reproduce and inspect in the app, not claims of a verified manufacturing output.

## Step-by-step walkthrough

1. **Pick the construction** — Use the structure choices or All box styles. Match closure and number of parts to the physical package you intend to make.
2. **Set material and dimensions** — Choose Board, Units and My numbers are. Enter the style’s dimensions and inspect the inside, outside and manufacturing readouts.
3. **Inspect the generated blank** — Review the flat preview and line legend. Locate cuts, folds, tabs, slots and any separate parts. Compare the blank footprint with the paper or tooling area you expect to use.
4. **Inspect the folded form** — Use the available folded preview to understand how panels join. Check the opening, closure and orientation; a valid-looking net still needs a physical fit check.
5. **Open in the editor** — Continue with the generated setup to add artwork, fine-tune supported structural parameters, review checks and choose the appropriate PDF, SVG, DXF or other production export.

## Options at a glance

| Control or choice | What it means | Advice |
| --- | --- | --- |
| Structure | The parametric construction that creates the cut and crease paths. | Choose the physical construction, not just a similar silhouette. |
| Board and caliper | Material assumptions used by the structure. | Change the board before preparing full-dieline artwork. |
| Inside / Outside / Manufacturer’s | The reference for input measurements. | Use the mode corresponding to your source specification. |
| Flat / Folded preview | The generated blank and its assembled interpretation. | Inspect both; one view can reveal issues hidden in the other. |
| Continue in editor | Carries the setup into the complete design workflow. | Use the editor for detailed parameters, artwork, checks and gated production exports. |

## Detailed control reference

### Structure, quick picks and All box styles

- Where: Calculator/generator → Structure
- Effect: Selects the construction used by the sizing engine. Quick picks are shortcuts into the same available style choices.
- Use it for: Choose a physical construction matching the contents, opening and board family. Read the labels of the dimension fields for that style.
- Impact: Switching a style may change supported boards, dimension fields, valid ranges and part count. Previously edited dimensions can remain, so inspect the results rather than assuming a style switch restores every default.

### Board and displayed caliper

- Where: Calculator/generator → Board
- Effect: Chooses a compatible stock preset and uses its stated caliper in the dimension/blank calculations.
- Use it for: Use for an early comparison of inside space, external footprint and material needs before continuing in the editor.
- Impact: The standalone tool uses the preset thickness. Use the full editor for measured caliper/converter-specific production settings. Do not substitute grams per square metre for millimetres of thickness.

### My numbers are: Inside, Manufacturer’s, Outside

- Where: Calculator/generator → dimension mode
- Effect: Selects which reference the entered numbers represent; the report calculates the other two sets.
- Use it for: Inside suits a product-space brief; Manufacturer’s suits score-to-score specifications; Outside suits a finished envelope constraint.
- Impact: Changing the mode changes the interpretation of the entered numbers. Compare the “You entered” indicator and the deltas versus inside. Do not copy one numerical set into another mode and expect the same physical package.

### Units, dimension fields and range messages

- Where: Calculator/generator → Units and Dimensions
- Effect: Units controls displayed measurements. The style exposes the applicable axes and their limits; some constructions have two named dimensions instead of a conventional three-axis box.
- Use it for: Enter values from the real measurement source and read the field-specific labels. Use the stated range to understand supported sizes.
- Impact: If the tool adjusts a value to a supported range, read the warning and the resolved output rather than assuming the original request was accepted unchanged. Width may follow length for a structure without an independent W field.

### Dimension sets, Flat blank, Folded preview and metrics

- Where: Calculator/generator results
- Effect: Shows the calculated Inside, Manufacturer’s and Outside sets, the unfolded geometry, folded view, blank/material measures and relevant technical lengths.
- Use it for: Use the flat view to judge the total sheet footprint and the folded view to understand which panels form the package. Fold/play helps connect those two views.
- Impact: Blank area/size includes closure and assembly geometry beyond the assembled product envelope. A visual fold is not a physical fit or strength test. Multi-part structures require reviewing all listed parts.

### Continue in the editor and download

- Where: Calculator/generator → editor/download actions
- Effect: Passes the selected structure, solved size and board into the full editor, where artwork, detailed production settings and exports are available.
- Use it for: Continue when you need an editable project, artwork placement, a supplier-specific caliper, a sheet plan or a particular technical format.
- Impact: Inspect the transferred settings and resolved dimensions in the editor. Sizing/preview access and production download access are distinct; use the live entitlement explanation for the selected output.

## Choose the file around the recipient

A PDF is convenient for a dimensioned structural review. SVG is useful for vector editing and compatible cutting workflows. DXF or CF2 may be requested by a die maker. The full editor’s Download panel explains these outputs and their options.

Generating a dieline is a starting point for production, not supplier approval. Print a sample at actual size, assemble it and agree material and tolerances before a full run.

## Check your work

- The generated construction matches the intended package.
- Scale, units and dimension reference are correct.
- Every required part is present.
- The production recipient accepts the chosen export format.

## Troubleshooting

### I need to upload a drawing rather than generate one

Open supplier CF2, ASCII DXF or SVG files in Dieline to 3D. For a vector PDF, use Import dieline in the editor.

### The artwork template changed after I selected another board

Caliper affects structure. Finalise board and size before exporting a template for external artwork.

## Related

- [Templates, dimensions and structural options](https://mockupgenerator.app/learn/templates-and-dimensions)
- [Import a supplier dieline and build its fold](https://mockupgenerator.app/learn/supplier-dielines)
- [Print checks, dielines, PDFs and the production handoff](https://mockupgenerator.app/learn/print-checks-and-exports)
- [All guides](https://mockupgenerator.app/learn)
