Jack-o-lantern to 3D print: Halloween pumpkin for LEDs
What is the jack-o-lantern generator?
A jack-o-lantern is a hollow, ribbed pumpkin with a face that a light shines through. The generator builds one in plastic: a shell with ribs, a face made of eyes, nose and mouth, optional text that glows through the wall, and a lid with a twisted, slightly curled stem. Everything is made for an LED light (an LED tea light, a battery lamp or a small LED string), never for a candle. And everything prints on the bed without supports.
You set width, height, ribs and face, the preview follows every change, and at the end you download an STL or 3MF file. Start with the examples: the classic jack-o-lantern, the pumpkin with “BOO” on the back and the mini pumpkin as table decoration show how far the settings go.
Halloween ideas and other uses
The pumpkin is the Halloween motif, and the examples use the colors of the season: orange, green and a purple stem.
- Window sill and stairs. The classic jack-o-lantern with triangle eyes and a wide grin is the default. The angry jack-o-lantern with jagged teeth looks grimmer, the happy pumpkin friendlier, which is the better choice at the door for small children.
- Spooky. The evil pumpkin has pupils and a purple stem.
- Words in the window. On the pumpkin with “BOO” the word glows through the wall on the back.
- String lights. The pumpkin with a cable hole takes an LED string, with the cable leaving low in the back.
- Party favor and place card. The pumpkin with a name carries the name under the face.
The pumpkin does not depend on the date, though. Without a face, the tall, narrow pumpkin is autumn decor for Thanksgiving or the dinner table, and the mini pumpkin is a place card. With an open bottom the pumpkin becomes a night light over a battery LED lamp, and a face of your own choosing fits a carnival or theme party just as well.
How the generator works
The generator runs in your browser. Nothing is uploaded, and your design lives in the link: “Share” sends exactly this pumpkin. The editor has the sections “Face”, “Pumpkin”, “Lid & stem”, “Text”, “Light & bottom” and “Export”.
The shape follows the Thingiverse design “Customizeable Pumpkin”: an ellipse with a dent at the top, plus ribs all around. We rebuilt it as a clean lathe and limited it so it prints without supports. The face comes from a CC0 design with seven eye, two nose and seven mouth styles. More under “Origin and license” below.
The pumpkin: shape, ribs and wall
Six settings in the “Pumpkin” section shape the shell:
- “Width” (50–170 mm, default 110) is the widest diameter, measured over the ribs.
- “Height” (40–170 mm, default 85) is the height without the stem.
- “Ribs” (5–16, default 10): a rib always sits in the middle of the face.
- “Groove depth” (0–15 %, default 7) is how deep the grooves between the ribs are, in percent of the radius. At 0 the pumpkin is a smooth ball; at 12 to 15 % it looks deeply furrowed like the tall pumpkin with six ribs.
- “Top dent” (0–40 %, default 30) sets how far the top sinks towards the stem. The tall pumpkin uses 15 %.
- “Wall” (1.2–4 mm, default 2) is the thinnest spot, in the grooves. The ribs and the top get a little thicker so they print without supports.
Two angles keep the print support-free. The lower part runs out onto the plate at no more than 40° from vertical, and the ceiling inside closes at no more than 35°. That is why the top is thicker than the “Wall” suggests, and why the default pumpkin weighs about 117 g.
The face: eyes, nose and mouth
In the “Face” section you pick “Eyes”, “Nose” and “Mouth”, plus the “Face size” (40–130 %, default 85; at 100 % the face suits the pumpkin’s width) and the “Face height” (−40 to 40 mm), which moves the face up or down from the widest point.
- Eyes: “Triangles”, “Happy arches”, “Pointed arches, with pupils”, “Round, with pupils”, “Sad”, “Angry” and “Evil, with pupils”, or “None”.
- Nose: “Triangle” or “Wide”, or “None”.
- Mouth: “Grin with square teeth”, “Smile with pointed teeth”, “Jagged teeth”, “Oval with square teeth”, “Oval with slanted teeth”, “Zigzag” and “Box with one tooth”, or “None”.
The shapes come from an OpenSCAD design and are reworked for printing. The holes are tunnels that run horizontally through the wall. A flat bridge over an eye would have needed supports, so every hole gets a pointed roof (58° from horizontal), and the tips are steeper still. That is why the eyes are pointed on top rather than round, and why the faces look a little different from the original.
Wide mouths would be too far to bridge. They become an arcade instead: thin 2.4 mm struts, about every 10 mm, split the mouth into separate openings, and each gets its own pointed roof. Pupils that stand as islands in an eye hang on small bars.
Text in the wall
In the “Text” field you type up to 24 characters that are cut through the wall and glow when the LED light is on. The other fields appear as soon as you type something. The text sits at the “Text position” “Back” (opposite the face) or “Front” under the face. “Text size” (6–30 mm, default 12) is the height of the capital letters, and “Text height” (−50 to 50 mm) moves it.
The “Font” defaults to “Allerta Stencil”. Bold and stencil fonts work best because they already have bridges. Letters with closed counters (A, B, O, P, R) get thin bars like a stencil, otherwise the inside would fall out. You can upload your own font; it stays in your browser. If the text is too long, the generator shrinks the letters and tells you. Examples are “BOO” on the back and a name under the face.
Light and bottom
The “Light & bottom” section decides how the light gets into the pumpkin. “Bottom” is “Closed” (the pumpkin has a floor, and the light goes in through the opening at the top) or “Open” (no floor, you put the pumpkin over an LED lamp; the example with an open bottom has no lid for that).
The “Cable hole” (0–14 mm, default 0 = none) is a round hole low in the back for the cable of an LED string, like 8 mm on the pumpkin for string lights.
Use LED light only. The pumpkin is a shell for LED tea lights, battery LED lamps and LED strings, not a candle lantern. An LED tea light is about 38 mm wide; if it does not fit through the opening, make the lid larger.
Lid and stem
The lid closes the opening at the top. It is a cone plug with a dent like the pumpkin’s and sits in the opening with 0.25 mm of clearance. The clearance is fixed: if it is too tight on your printer, sand the cone lightly. The lid prints on its flat underside beside the pumpkin.
- “Lid” (switch “On” or “Off”): without a lid the opening stays free.
- “Lid size” (30–70 %, default 50) is the diameter of the opening in percent of the width. The generator keeps it between the dent and the shoulder of the pumpkin and adjusts the value if needed.
- “Stem height” (0–60 mm, default 20); at 0 there is no stem.
- “Stem width” (4–30 mm, default 9) is the width at the top; the foot is one and a half times as wide.
- “Stem sides” (3–10, default 5) are the corners of its cross section.
- “Stem twist” (0–360°, default 120) turns the stem over its height. Large values are limited so no face leans more than 40° from vertical, and the editor tells you how far the stem can turn.
- “Stem curl” (0–15 mm, default 2) curls the tip sideways.
Whole set or single parts
“Parts” in the “Export” section offers “All”, “Pumpkin” and “Lid”. “All” puts the pumpkin and the lid diagonally beside each other on one plate. With the defaults the plate measures 143.3 × 145.2 mm; with the other defaults unchanged, pumpkin and lid fit together up to 136 mm width. If it would be wider than 180 mm, it holds only the pumpkin and the editor says so: export the lid on its own, as with the big pumpkin, 160 mm wide, which you set to “Pumpkin” under “Parts”.
Colors
There are two color slots: “Pumpkin” (default orange) and “Stem” (default green). The lid has the color of the pumpkin; the stem is a part of its own for a second extruder. For a multi-material setup there are the downloads “Multi-color 3MF (PrusaSlicer)”, “3MF (Bambu Studio / OrcaSlicer)” and “STL per color (ZIP)”. The single-color export merges everything. The evil pumpkin has a purple stem; for Halloween a black or bone-white pumpkin works too.
With one extruder you print everything in one color: a color change at a layer height recolors whole layers and would also hit the rim of the lid’s dent. Paint the stem after printing instead.
Printing tips
- Orientation: as arranged, without supports. The pumpkin stands on its foot, the lid lies on its underside.
- Layer height: 0.2 mm. At 0.12 or 0.16 mm the ribs get smoother, at the cost of print time.
- Material: PLA works well. Light or orange filament lets a little light through the wall, dark filament only through the face.
- Strings: fine strings can form inside the face. Dry filament helps, and a small knife removes leftovers.
Numbers from a real slice with PrusaSlicer on a Prusa MINI, profile 0.20 mm SPEED and Prusament PLA, with automatic supports switched on:
| Example | Size | Filament | Time |
|---|---|---|---|
| Classic jack-o-lantern | Ø 110 × 85 mm, with lid | 117.4 g | 4 h 37 min |
| Happy pumpkin | nine ribs | 117.1 g | 4 h 26 min |
| Angry jack-o-lantern | eleven ribs | 119.6 g | 5 h 15 min |
| Pumpkin with “BOO” | text on the back | 118.9 g | 4 h 46 min |
| Bottomless pumpkin | no lid | 100.8 g | 4 h 0 min |
| Tall pumpkin | 90 × 110 mm, no face | 95.9 g | 3 h 51 min |
| Mini pumpkin | 60 × 45 mm | 29.9 g | 1 h 29 min |
| Big pumpkin | 160 × 115 mm, pumpkin only | 251.7 g | 9 h 16 min |
The other five examples run between 84 and 133 g. Every example sliced without automatic supports.
For more light around the house there is the lattice lamp shade, and for spring the Easter egg.
Origin and license
The pumpkin is a new construction after three openly licensed designs: the face outlines are taken from a CC0 design, the body, lid and stem are our own code after the measurements and formulas of a CC-BY design, and a third provided ideas.
- Custumizable halloween pupkin heads by 9 landroo (CC0-1.0, license text) supplies the seven eye, two nose and seven mouth styles, taken over as 2D outlines and adapted to print without supports (pointed roofs, struts). CC0 needs no attribution; here it is a courtesy.
- Customizeable Pumpkin by PeacefulCicada (CC-BY-4.0, license text) is the model for the pumpkin shape from width, height, ribs and top dent and for the twisted, curled stem. We rebuilt both as a clean lathe and limited them for printing. CC BY requires attribution, and it is given here.
- Jack-O-Lantern by PJHR-MT (CC-BY-4.0, license text) gave the idea of tooth supports, which here are teeth that reach the lower lip, and of the open bottom to put over a light. It was used as an idea only, without code or measurements. Attribution is required here too.
The Halloween colors and the uses are our addition. The licenses are listed on the Licenses page.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Pumpkin | |||
| Width | 110 mm | 50 – 170 mm | Widest diameter of the pumpkin, measured over the ribs. |
| Height | 85 mm | 40 – 170 mm | Height of the pumpkin without the stem. |
| Ribs | 10 | 5 – 16 | Number of ribs around the pumpkin. A rib always sits in the middle of the face. |
| Groove depth | 7 % | 0 – 15 % | How deep the grooves between the ribs are, in percent of the radius. 0 gives a smooth ball. |
| Top dent | 30 % | 0 – 40 % | How far the top sinks towards the stem, in percent of the radius. |
| Wall | 2 mm | 1.2 – 4 mm | Thinnest wall, in the grooves. The ribs and the top get a little thicker so they print without supports. |
| Face | |||
| Face size | 85 % | 40 – 130 % | Size of the carved face; 100 % suits the pumpkin’s width. |
| Face height | 0 mm | -40 – 40 mm | Moves the face up or down from the widest point. |
| Text | |||
| Text size | 12 mm | 6 – 30 mm | Height of the capital letters. |
| Text height | 0 mm | -50 – 50 mm | Moves the text up or down. |
| Lid & stem | |||
| Lid size | 50 % | 30 – 70 % | Diameter of the lid, in percent of the width. The opening must be wide enough for your light. |
| Stem height | 20 mm | 0 – 60 mm | Height of the stem on the lid, 0 = no stem. |
| Stem width | 9 mm | 4 – 30 mm | Width of the stem at the top; its foot is one and a half times as wide. |
| Stem sides | 5 | 3 – 10 | Number of edges of the stem. |
| Stem twist | 120 ° | 0 – 360 ° | How far the stem turns over its height. Large values are limited so the stem prints without supports. |
| Stem curl | 2 mm | 0 – 15 mm | How far the tip of the stem curls sideways. |
| Light & bottom | |||
| Cable hole | 0 mm | 0 – 14 mm | Round hole low in the back for the cable of LED string lights, 0 = none. |
Frequently asked questions
Is the pumpkin only for Halloween?
No. At Halloween it is a jack-o-lantern with a face for the window sill, stairs or front door. Without a face the same pumpkin is autumn decor for Thanksgiving or the dinner table, a mini pumpkin makes a place card, and with an open bottom it becomes a night light over a battery LED lamp.
Do I need supports?
No. The pumpkin stands upright on its flat foot, the lid lies on its flat underside, and the holes in the face have pointed roofs instead of flat bridges. All 13 examples sliced in PrusaSlicer without automatic supports.
Can I put a candle or a tea light with a flame inside?
No. The pumpkin is a shell for LED light only: an LED tea light, a battery LED lamp or a small LED string. Printed PLA softens at about 55 to 60 °C, so keep candles, flames and other heat sources away. We also make no claim that printed plastic is food safe.
Do the pumpkin and lid fit on one plate?
With the other defaults, yes, up to 136 mm width; the default pumpkin takes 143.3 × 145.2 mm. If the plate would be wider than 180 mm, it holds only the pumpkin and the editor shows a note. Set “Parts” to “Pumpkin”, then to “Lid”, and export both on their own.
My LED light does not fit through the opening. What now?
Raise the “Lid size” (30–70 %, default 50 %). The editor shows how wide the opening is at its narrowest point under the slider and warns when an LED tea light of about 38 mm will not pass. Or set “Bottom” to “Open” and put the pumpkin over the light.
Can I print the pumpkin and stem in two colors?
Yes. “Pumpkin” (default orange) and “Stem” (default green) are two color slots. A multi-material setup gets a file with the colors already assigned; with one extruder you print everything in one color and paint the stem afterwards.
Origin & license
- Custumizable halloween pupkin heads by 9 landroo · CC0 1.0 · code ported – The seven eye, two nose and seven mouth styles of pumpkin.scad, taken over as 2D outlines and adapted so they print without supports
- Customizeable Pumpkin by PeacefulCicada · CC BY 4.0 · dimensions and shape adopted – Pumpkin shape from width, height, segments and top dent (rebuilt as a clean lathe) and the twisted, curled stem
- Jack-O-Lantern by PJHR-MT · CC BY 4.0 · dimensions and shape adopted – The idea of tooth supports (here teeth that reach the lower lip) and of the open bottom to put over a light