OpenSCAD Personalized Bauble Ornament example
Holiday
Lesson 28 of 28
Wrap a custom message onto a sphere by intersecting extruded text with a slightly larger sphere.
Try changing:
top_textsymbolbottom_texttext_reliefdiametercap_heightmessage_angleloop_holeMedium compile complexity. A fine sphere plus curved text intersections; heavier than the flat ornaments.
How this model works
The message starts as flat 2D text and a heart. rotate([90, 0, 0]) points its extrusion through the front of the ball, message_angle turns it around the vertical axis (45 degrees faces the playground's default camera), and intersecting it with a sphere text_relief larger trims the letters into a curved shell that follows the surface. The cap is a ridged polygon extruded from just below the sphere surface so the two parts overlap; 44 ridges keep its corners from lining up with the sphere's facets, and the loop is a small torus from rotate_extrude, turned upright. Text size is estimated from the character count, so very long names shrink and letters near the edge of the ball stretch slightly. The round body needs supports or a brim on a filament printer.
Untitled project
main.scad
Loading draft
Ready
Z up · geometry preview
Your geometry will appear here
Preview or render the model to inspect it in 3D.
STL preview
Grid 10 units · Drag: orbit · Right-drag / two fingers: pan · Scroll / pinch: zoom
0 messages
Make it your own
Put your own two names in top_text and bottom_text, then switch symbol to Star. Next, change it to an engraved message by subtracting the lettering from the sphere instead of adding it.
Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.