OpenSCAD Embossed Text Badge example

OpenSCAD examples
/

Embossed Text Badge

Intermediate

Practical parts

Lesson 17 of 22

Extrude font outlines into raised lettering that overlaps its base.

Try changing:

label_texttext_widthletter_heightbase_thickness

Medium compile complexity. Text requires bundled font support; detailed glyph outlines increase cost.

How this model works

text produces 2D font outlines; linear_extrude gives them height. resize constrains the complete word to a known width, and a small overlap connects it to the plate. This lesson uses the runtime's bundled Lato font; other font names require those fonts to be available. Empty text is rejected. Long words are compressed, so adjust text_width and size for readability rather than assuming automatic typography.

main.scad

Loading draft

Ctrl/Cmd+Enter or F5: preview · F6: render · Ctrl/Cmd+F: search · Ctrl+Space: complete · Tab: leave editor

0 messages

Make it your own

Replace MAKER with a short name. Change the extrusion into a subtractive engraving, extending the text cutter just beyond the top face.

Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.

FAQ