OpenSCAD Embossed Text Badge example
Practical parts
Lesson 17 of 22
Extrude font outlines into raised lettering that overlaps its base.
Try changing:
label_texttext_widthletter_heightbase_thicknessMedium 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
Ready
Z up · geometry preview
Your geometry will appear here
Preview or render the model to inspect it in 3D.
Geometry-only STL preview
Grid 10 units · Drag: orbit · Right-drag / two fingers: pan · Scroll / pinch: zoom
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.