Printing a lattice lamp shade or St. Martin lantern
This lattice lamp shade is made of many thin, twisted strands that cross into a diamond pattern. Put a light inside and it throws dancing shadows on walls and ceiling. The generator lets you design one in your browser: shape, twist and number of strands, plus the right mount for a solar insert, an E27 or E14 lamp holder or an LED tea light. And since lanterns light up the streets in Germany every November, it can also build a St. Martin lantern (the paper lantern children carry in the Martinsumzug, the St. Martin’s Day parade) with a bail for the lantern stick. Ready-made ideas are in the examples.
How the generator works
Everything runs in your browser and nothing is uploaded. Each change rebuilds the model, usually in well under a second. Your whole design lives in the link you get from “Share”.
The shade is a stack of segments. Every segment has a height, a top diameter and a twist. Inside it the strands run straight from bottom to top while traveling around the middle. The counter strands twist the other way; where both cross, the lattice appears. A ring at the bottom holds the strands together, and a second ring at the top carries the light source.
The idea and the strand model come from the Customizable Solar LED Lamp Shade Generator by seasick, an OpenSCAD model under CC BY 4.0. The generator recomputes it in TypeScript: the same values give the same shade as in OpenSCAD, and the randomizer produces the same shapes too. New are the plate for lamp holders, the floor for an LED tea light, the lantern bail and the 45° chamfers that make the shade print without supports.
Which light source?
Under “Light source”, pick a “Preset” first. It sets mount, size and bail to suit the light; you can keep shaping the shade afterwards.
| Preset | Mount | Use |
|---|---|---|
| Solar pendant (81 mm insert) | ledge for a flat solar insert | garden, balcony |
| Pendant lamp with E27 holder | plate with a 42 mm hole | pendant light, LED only |
| Pendant lamp with E14 holder | plate with a 29 mm hole | small pendants, hallway |
| Lantern for an LED tea light | closed floor with a pocket | table, windowsill |
| Open shade | narrow ring on top | decoration, fairy lights |
| St. Martin lantern | floor, pocket and printed bail | the St. Martin parade |
Solar insert: many solar pendant lamps have a flat round insert with the solar cell on top and the LED underneath. It rests on a narrow ledge inside the top ring. Measure the insert and enter it as “Insert diameter” (81 mm by default); the “Ledge diameter” (87 mm) is roughly its rim. “Ledge thickness” and “Ledge depth” set how thick the ledge is and how deep it sits. A 45° chamfer under the ledge lets it print without supports. If the top diameter is much wider than the ledge, a 45° cone carries the ring. That costs material, so it’s best to keep the top diameter close to the ledge.
Lamp holder: with “E27/E14 holder” the shade gets a 2 mm plate on top with the “Lamp holder hole”: about 42 mm for E27 and 29 mm for E14. The threaded ring of the holder clamps the plate. To keep the plate flat on the bed, the shade prints upside down. Use LED bulbs up to about 10 W only; the generator reminds you.
LED tea light: a 1.6 mm floor closes the shade at the bottom, and a ring on it forms the “Tea light pocket” (39 mm, which fits the usual 38 mm LED tea lights). The shade becomes a small lantern for the table.
The St. Martin lantern
On St. Martin’s Day in early November, children walk through the streets with lanterns. The “St. Martin lantern” preset builds a lattice lantern for that: 130 mm across, two segments of 18 + 18 strands, a closed floor with a tea light pocket, a narrow top ring and a printed bail above it. Its two legs rise at 45° and meet over the middle; the hook of the lantern stick catches the apex from below. That way the bail prints in one piece with the lantern and needs no supports. The whole lantern is 158 mm tall.
For light, use either an LED tea light in the pocket or an LED lantern stick, whose little bulb hangs from the hook and shines into the lantern from above. Never put a real candle inside: PLA softens from about 60 °C and can burn. The editor says so as well.
Instead of the printed bail you can choose “Wire holes” under “Bail”: the top ring gets two diamond-shaped holes for a wire, bent like the bail of a paper lantern. Make the “Top ring” at least 5 mm tall for that. The bail is available with the tea light floor and the open ring.
For the classic glow, glue tracing paper or baking paper inside. The lantern then shines like a paper one but survives a drop into a puddle. Examples: the large St. Martin lantern, the small kids’ lantern, 105 mm wide, and the zigzag lantern with a wire bail.
Shaping the shade
Under “Shape” you find the “Bottom diameter” and the segments below it, from bottom to top. Each segment has a “Height” (2–180 mm), a “Diameter top” (40–175 mm), a “Twist” and a “Counter twist” (−360 to 360°). “Add segment” and “Remove last” give you up to eight segments. Alternating wide and narrow diameters make a waist, a belly or a tulip; a twist of 0 makes vertical strands.
All segments plus the top ring (and the bail) have to fit the 180 mm build height of a Prusa MINI. If the design is taller, the generator squeezes the segments and tells you. That already applies to the original’s defaults (5 × 35 mm plus a 15 mm ring), so the editor starts with 5 × 33 mm.
Under “Strands” you choose the “Strand shape” (“Round”, “Square” or “Flat” like a ribbon), the “Strand thickness” (1.2–20 mm), the number of “Strands” (3–60) and “Counter strands” (0–60), and the “Sides per strand” (3–16, 5 in the original). As in the original, a strand grows and shrinks with the diameter. Without counter strands you get a pure spiral shade.
Under “Rings” you set the “Bottom ring” (0–20 mm) and the “Top ring” (3–30 mm).
Random designs
Under “Random”, turn on the “Random shape”. The “Seed” then decides everything: how many segments, their heights and diameters, the twist, the strand thickness and the number of strands. “Shuffle” draws a new seed. If you like a design, “Use these values” copies it into the fields so you can keep editing it by hand.
The randomizer computes exactly like the original, quirks included: the segments always add up to 200 mm and get squeezed into the build height, and the strands are square. A seed gives the same shape as in OpenSCAD with the same limits. Only the limits differ: with the original’s full ranges, about 99 of 100 seeds produced strands leaning far too much to print, so the defaults are narrower (2–4 segments, 115–150 mm diameter, up to 35° twist). On top of that, “Shuffle” only picks seeds whose strands lean at most 45° from vertical. Under “Randomizer limits” you can widen the ranges again; then expect a warning about leaning strands more often. Two examples: seed 4809 with the original limits and seed 289 with gentle limits.
Printing
The shade is a single part in one color, placed on the bed the way it prints: bottom ring down, lamp holder shades plate down. Download it as STL, as “3MF (Bambu Studio / OrcaSlicer)” or as “Multi-color 3MF (PrusaSlicer)”; with one color both 3MF files carry the same model.
- Supports: none. The strands may lean up to about 45°; from 50° the generator warns, because they start to sag. The undersides of the rings only bridge the short gaps between strands. Keep automatic supports off in the slicer: the crossings are built in 1 mm steps that a strict support detection wrongly flags as overhangs.
- Layer height: 0.2 mm is enough. You don’t need extra walls; the strands are almost all wall anyway.
- Strands: every strand is at least 0.8 mm wide; the generator thickens thinner ones so a 0.4 mm nozzle prints them cleanly.
- Material: PLA is fine for LED light. White and natural colors diffuse the light softly; bright colors suit lanterns.
A real slice in PrusaSlicer (Prusa MINI, 0.20 mm SPEED, Prusament PLA) gives 44.8 g of filament and 7 h 24 min of printing for the solar shade from the title image and 56.5 g and 5 h 46 min for the St. Martin lantern, both without support material.
Origin and license
The segment and strand model, the solar ledge and the randomizer are a port of the Customizable Solar LED Lamp Shade Generator by seasick, published under CC BY 4.0. Changed and added: the computation as 2D sections instead of 3D booleans, the fit into the 180 mm build height, the 45° chamfers, the lamp holder plate, the tea light floor and the lantern bail. All sources are listed under licenses.
Open the generator and build your shade, or design a Christmas ornament with a name for the next season.
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 |
|---|---|---|---|
| Strands | |||
| Strand thickness | 3 mm | 1.2 – 20 mm | Thickness of the strands at the bottom. As in the original, it shrinks and grows with the diameter. |
| Strands | 25 | 3 – 60 | Number of strands that twist one way. |
| Counter strands | 25 | 0 – 60 | Number of strands that twist the other way. 0 makes a pure spiral shade. |
| Sides per strand | 5 | 3 – 16 | How round a round strand is: 5 as in the original, more sides look smoother. |
| Rings | |||
| Bottom ring | 5 mm | 0 – 20 mm | Height of the ring at the bottom that holds the strands together. 0 = no ring. |
| Top ring | 15 mm | 3 – 30 mm | Height of the top ring that carries the light source. |
| Mount | |||
| Insert diameter | 81 mm | 20 – 160 mm | Diameter of the solar insert that rests on the ledge. |
| Ledge diameter | 87 mm | 20 – 170 mm | Diameter of the recess above and below the ledge, roughly the rim of the insert. |
| Ledge thickness | 2.5 mm | 0.8 – 10 mm | How thick the ledge is that the insert rests on. |
| Ledge depth | 2 mm | 0 – 10 mm | How far below the top edge the ledge sits. |
| Lamp holder hole | 42 mm | 20 – 60 mm | Hole diameter in the plate: about 42 mm for E27, 29 mm for E14. Best measure the threaded ring of your holder. |
| Tea light pocket | 39 mm | 30 – 60 mm | Inner diameter of the pocket on the floor. LED tea lights are usually 38 mm. |
| Random | |||
| Seed | 1 | 1 – 9999999 | Same seed, same shade. Every number gives a different shape. |
Frequently asked questions
Which lamps can I use?
LEDs only: flat solar LED inserts, LED bulbs up to about 10 W, LED tea lights and LED lantern sticks. Incandescent and halogen bulbs and real candles get far too hot for PLA.
Can I put a real candle in the St. Martin lantern?
No, never. PLA softens from about 60 °C and can burn. Use an LED tea light in the floor pocket or an LED lantern stick, which most children carry in the parade anyway.
Will it fit my solar lamp?
Measure the insert and its rim and enter them as “Insert diameter” and “Ledge diameter”. The defaults are 81 and 87 mm, the size of many flat solar pendant lamps.
Do I need supports?
No. As long as the strands stay steeper than about 45°, the shade prints without supports. The generator warns from 50° on, and every ledge under a ring has a 45° chamfer.
How does the random design work?
A seed sets segments, diameters, twist and strands, using the same random numbers as the OpenSCAD original. Same seed, same shade, so you can share any design by its link.
Which filament looks best?
White or natural PLA diffuses the light softly and casts crisp shadows. Bright orange, yellow or red suits lanterns; translucent PETG glows along with the light.
Origin & license
- Customizable Solar LED Lamp Shade Generator by seasick · CC BY 4.0 · code ported – segment and strand model, solar ledge and randomizer (ported; added: lamp holder plate, LED tea light floor, lantern bail, 45° chamfers)