Tool 04 · Illustrator Script Utilities

Cone Templates.
Mathematically
Perfect.

An Adobe Illustrator script that generates a precisely flattened truncated cone template from three measurements — ready to design on and warp back around the cone in one click.

3Inputs needed
3Structured layers
CS6+Illustrator
FreeNo licence
3-Layer
Template
d1 d2 h
Cone
Generator
Exact Cone Maths
3-Layer Structure
One-Click Warp
mm & Inches
CS6 & CC
Core Features

The maths done for you.
Inside Illustrator.

No manual calculations. No guessing the arc length. Run the script, enter three numbers, and you have a production-ready template.

📐

Precise Cone Geometry

Uses exact cone mathematics — apex height, slant length, and arc angle — to generate a template that fits your physical cup perfectly when wrapped.

🗂️

3-Layer File Structure

Generates a tidy Illustrator document with three locked layers: cone template, artwork safe zone, and instructions. Ready to work in immediately.

🎨

One-Click Warp

After placing your artwork, a single Envelope Distort command wraps it perfectly around the cone. No manual warping or trial and error.

📏

mm & Inches

Enter dimensions in millimetres or inches — whichever your workflow uses. The script handles all the conversions.

🏷️

Any Conical Shape

Cups, glasses, conical labels, packaging — if it’s a truncated cone, this script generates the correct template for it.

CS6 & Creative Cloud

Works with Adobe Illustrator CS6 and all Creative Cloud versions. No plugins. No subscriptions. Install once, use forever.

How It Works

From launch to layered
template in seconds.

Four steps from opening Illustrator to having a warp-ready cone template with your artwork applied.

01

Launch the Script

Open Illustrator. Go to File → Scripts → Other Script… and navigate to the downloaded Truncated Cone Template.jsx file. Double-click to run.

02

Enter Your Dimensions

The script prompts for unit (mm or inches), top diameter, bottom diameter, vertical height, and your artwork bounding box size. Enter each and confirm.

03

Get Your Layered Template

Illustrator instantly generates a new document with your cone template, an artwork safe zone rectangle, and a guide layer — structured and ready to use immediately.

04

Place & Warp Artwork

Unlock the Artwork layer, place your flat design inside the dashed rectangle, group it, then select both and run Object → Envelope Distort → Make with Top Object.

Script Inputs

Five prompts.
That’s it.

The script walks you through each field with a dialog box. Here’s what each one means and what to enter.

FieldWhat to enterNotes
UnitsType mm or inChoose one and use it throughout all fields
Top Diameter (d1)Width across the cup openingMeasure directly with digital calipers
Bottom Diameter (d2)Width across the cup baseMeasure directly with digital calipers
Vertical Height (h)Straight height from base to rim
⚠ Measure straight up — not along the angled side. Slant height gives wrong results.
Artwork Bounding BoxWidth & height of your flat design areaThe dashed safe zone rectangle the script draws on the Artwork layer
Generated File Structure

Three layers.
Everything organised.

The script creates a structured Illustrator file so you can start designing immediately without any manual setup.

Top Layer

Truncated Cone Template

Contains the curved cone path and three structural guidelines — centre, left, and right — for precise artwork alignment. This is the shape your artwork warps around.

Middle Layer

Artwork

Contains a dashed rectangle showing the safe zone for your flat design. Place your artwork inside this area. Group all elements before running Envelope Distort.

Bottom Layer

Instructions

A quick-reference text block summarising the warp steps. Hide or delete this layer before exporting or sending to print.

Pro Tips

Get a perfect warp
every time.

Small habits that prevent the most common mistakes when using Envelope Distort with cone templates.

📏

Measure height vertically

Always measure straight up from base to rim — never along the cup’s slanted side. The slant height produces a fundamentally different and wrong template.

🗂️

Group your artwork first

Select all design elements and group them (Cmd/Ctrl+G) before running Envelope Distort. Ungrouped artwork produces broken or partial warps.

⬆️

Cone template must be on top

For Envelope Distort to work, the cone path must be the topmost selected object. If it’s behind your artwork, the warp will use your design as the envelope instead.

🖨️

Delete instructions before printing

The bottom Instructions layer contains text. If you forget to hide it, it will appear on your final print output.

📐

Use digital calipers

Even 0.5mm measurement errors compound across cone geometry. A basic digital caliper costs under £10 and pays for itself on the first job.

🖼️

Export at 300 DPI minimum

When exporting your warped artwork for print, ensure resolution is 300 DPI or higher. Lower resolutions look blurry on the physical cup.

Free Download

Ready to generate your first cone?

Free. No licence. Works in Illustrator CS6 and all Creative Cloud versions.

📦
Truncated-Cone-Template.zip
Contains: Truncated Cone Template.jsx
⬇  Download Script (.zip)
Unzip → File → Scripts → Other Script… → Select the .jsx file