OpenSCAD Personalized Star Ornament example
Holiday
Lesson 24 of 28
Build a star from a list comprehension, give it a bevelled top, and add a hanging loop and a custom message.
Try changing:
top_textsymbolbottom_texttext_reliefpointsouter_radiusinner_ratiothicknessbevelloop_holeLow compile complexity. One polygon, two extrusions and short text; compiles quickly.
How this model works
Alternating outer and inner radii give a star with points sides. A second, shorter linear_extrude with scale below 1 tapers toward the center and forms the bevel. The loop is a hull of a ring and a small anchor circle inside the top point, minus the hole, so it stays attached at every star size. The message is three rows: the top text, a heart or star drawn from basic shapes, and the bottom text, raised on the bevel. Text size is estimated from the character count, so long names get smaller instead of overflowing. It prints flat; pausing at the top of the bevel lets you swap filament for a two-colour message.
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
Make a six-point star with a deeper bevel. Then set symbol to None and use a single name with a year underneath.
Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.