Preparing an SVG logo for 3D printing
An SVG looks like a finished shape on screen, but a 3D converter reads it differently from a browser. It extrudes only closed, filled areas, it knows nothing about stroke widths that "look" solid, and it scales everything to the size you ask for, including hairlines that were never meant to be printed. Most failed SVG prints come from one of those three facts. Fix them in the file first, and the extrusion itself takes seconds.
How a converter reads an SVG
An SVG is a list of drawing instructions: paths, rectangles, circles, text, each with a fill and a stroke. To make a solid, a converter such as the SVG to STL converter asks one question about every element: does it describe a closed, filled area? If yes, the area becomes a flat outline that is pushed straight up into a prism. Everything else is skipped.
Three consequences follow, and the rest of this guide is about them:
- Only filled shapes count. Strokes, live text and pictures are not shapes.
- The file has no real size. SVG coordinates are units; the converter scales them to your width, and every line scales with them.
- Colour is the only grouping. Each fill colour can become its own part with its own height, which is how you get layers.
Closed paths, holes and fill rules
A fill needs a boundary that returns to its start. A path that ends near its first point but not on it is drawn with an invisible straight closing segment, which may cut across your shape. Tracing results and freehand drawing often contain such gaps. In your vector editor, select the end nodes and join them, or close the path, so the outline is exactly what you mean.
Holes, as in O, A, B or a ring logo, are a second, inner outline inside the first. Whether an inner outline is a hole is decided by the file's fill rule:
- evenodd: every nested outline toggles between solid and hole, whichever direction it is drawn in.
- nonzero: an inner outline is a hole only if it runs in the opposite direction to the outer one. Two outlines drawn the same way fill each other in.
The converter follows the rule in the file, so if a letter's counter comes out solid, it looks solid in a browser too. Reverse the inner path's direction, switch the rule to evenodd, or combine the shapes with a Difference operation. Overlapping shapes of the same colour are merged before extrusion, so you do not need to union them by hand.
Strokes, text, clips and other things that disappear
A line drawn with a 2 px stroke is, in the file, a path with zero width and a paint setting. It prints as nothing. Before exporting:
- Convert strokes to outlines. In Inkscape this is Path → Stroke to Path; in Illustrator, Object → Path → Outline Stroke. The result is a filled shape exactly as wide as the stroke was.
- Convert text to paths. Live text depends on a font the converter may not have. Convert it (Object to Path, Create Outlines), or type the text into the text to STL converter instead.
- Apply clips and masks. A clipping path changes what is visible, not the shape underneath; a converter may extrude the full hidden shape. Replace clips with a real intersection.
- Remove embedded images. A photo placed inside an SVG is still a picture. Trace it (see below) or use image to STL.
- Ignore gradients and filters. They only change colour; the shape underneath is extruded as one flat area.
Many logo downloads also contain a white rectangle behind the design. Delete it in the editor, or untick that colour in the converter, or it becomes a solid slab.
Minimum widths at the printed size
The extrusion is only as good as its thinnest feature. With a 0.4 mm nozzle, a feature needs about two line widths, roughly 0.8 mm, to print solid. Around 0.45 mm is the floor where a single line can still form, and it is fragile. These are the same numbers the small text guide uses for letter strokes.
The trap is that widths only exist after scaling. Work it out before you print:
printed width = width in file × printed size ÷ drawing size
A logo 1000 units wide with a 6-unit hairline, printed 50 mm wide, gives 6 × 50 ÷ 1000 = 0.3 mm. That line will not print. You have three options:
- Print larger. For the line to reach 0.8 mm, the logo must be 0.8 × 1000 ÷ 6 ≈ 133 mm wide.
- Thicken the line in the file. At 50 mm it needs 0.8 × 1000 ÷ 50 = 16 units. Offset the shape outwards, or redraw that detail.
- Remove it. A detail that has to be thickened beyond recognition is better left out at this size.
Gaps follow the same rule: a gap narrower than a line width closes up, and two shapes fuse. Keep gaps at 0.5 mm or more, ideally 0.8 mm. Files made for laser cutting or vinyl are often drawn at real size in millimetres; for those, use the document's own size in the converter so a 60 mm part stays 60 mm. If you change the size later, the scaling guide explains what else changes.
Extrusion depth and backing plates
How high to extrude depends on what the shape is for:
| Use | Raised height | Base or plate |
|---|---|---|
| Logo or lettering read up close | 0.6–1 mm | 2–3 mm plate |
| Sign read across a room | 2–3 mm | 3 mm plate or more |
| Keychain, badge, free-standing shape | 1.5–2 mm on a plate, or 2–3 mm alone | 2–3 mm |
| Stamp (mirrored) | 1.5–2 mm | Solid backing with a handle |
Make every height a whole number of layers. With 0.2 mm layers, a 2.0 mm plate and 0.8 mm of relief are 10 and 4 layers; a 0.7 mm relief would be rounded by the slicer and the colour change would land half a layer off. Thin, separate shapes without a plate also need area to stay on the bed: if a design has many small islands, a backing plate or a thin connecting frame keeps them together. For a design cut out of a plate instead of raised on it, see the stencil guide, where bridges keep the islands of letters like O in place.
Print flat, plate down. Every layer then sits on the one below and no supports are needed.
Colours as layers
Each distinct fill colour in the SVG can be given its own height. That turns a flat file into a layered design without any CAD:
- Two-level relief in one filament. Background at 1 mm, lettering at 3 mm: readable by shadow alone.
- Stacked colours with filament swaps. Base 2.0 mm in colour A, a border up to 2.6 mm in colour B, lettering up to 3.2 mm in colour C. With 0.2 mm layers the changes go at the start of layers 11 and 14. The multi-colour guide shows how to place the changes and check them in the preview.
- Side-by-side colours. Two colours at the same height cannot be separated by a filament swap. Export 3MF, where each colour is a separate part, and print it on a multi-material printer.
Simplify the palette first. Tracing and gradients can leave dozens of near-identical colours, each becoming its own part. Merge them into the few colours you will actually print, and make sure the topmost colour is the one you want to read. Why 3MF keeps these parts while STL cannot is explained in STL vs 3MF.
Starting from a PNG or JPG
If you only have a raster image, trace it into paths first with PNG to SVG or image to SVG. Tracing works well for logos, icons, signatures and silhouettes with a few flat colours, and badly for photos.
- Start large and clean. The biggest, least compressed source you have. JPEG noise becomes lumps along every edge.
- Set the cutoff deliberately so thin parts survive; a cutoff that is too strict erodes them, too loose fills small gaps.
- Remove specks. Every speck becomes a tiny island that the printer cannot place on its own.
- Smooth, then check. More curve smoothness gives cleaner edges but rounds sharp corners. Compare the trace with the original before converting.
If the trace is poor, redraw. A simplified logo built from a few clean shapes prints better than an exact trace of a blurry image. The silhouette section of the image guide covers thresholding in more detail.
Checklist and common problems
- Everything that should print is a filled, closed path. No strokes, live text, clips or images remain.
- Holes are holes in a browser preview with the stroke turned off.
- The background rectangle is gone.
- The thinnest line and gap are at least 0.8 mm at the final size.
- The colours are merged into the few you will print, and each height is a whole number of layers.
| Symptom | Likely cause | Fix |
|---|---|---|
| Parts of the design missing | Strokes or live text | Stroke to path, text to path |
| Letter counters filled in | Fill rule or path direction | Reverse the inner path, use evenodd or a difference |
| One solid slab | Background rectangle | Delete it or untick its colour |
| Fine lines missing in the slicer | Too thin after scaling | Print larger or thicken in the file |
| Faceted curves | Too few segments per curve | Raise curve smoothness in the converter |
| Dozens of parts in the 3MF | Near-identical colours from tracing | Merge colours in the editor |
Open the result in the slicer preview before printing. Missing walls in thin areas, described in the preview guide, show exactly where a feature is too narrow.
Frequently asked questions
Why is part of my SVG missing in the 3D model?
Almost always because those parts are strokes without a fill, live text, or an embedded image. A converter extrudes filled areas only. Convert strokes to outlines and text to paths in your vector editor, delete or replace embedded images, and export again.
How thick should lines in an SVG be for 3D printing?
At the printed size, aim for 0.8 mm or more with a 0.4 mm nozzle; around 0.45 mm is the absolute floor and prints weakly. Check widths after scaling: a line 6 units wide in a 1000-unit drawing becomes 0.3 mm when the logo is printed 50 mm wide.
How high should I extrude an SVG?
For raised lettering or a logo on a plate, 0.6–1 mm reads up close and 2–3 mm reads across a room. For a free-standing shape such as a keychain or badge, 2–3 mm gives enough stiffness. Make every height a whole number of layers.
Can I print an SVG in several colours on a single-extruder printer?
Yes, if each colour sits at its own height. Give each fill colour a different extrusion height, then change filament at each boundary layer. Colours that share the same height need a multi-material printer, or a 3MF with each colour as its own part.
Should I trace a PNG or redraw it?
Trace when the image is clean, large and has a few flat colours. Redraw when it is small, blurry, photographic or full of fine detail; a simplified redraw usually prints better than a faithful trace of a bad source.