OpenSCAD Gingerbread Man Ornament example
Holiday
Lesson 26 of 28
Build a cookie shape from circles and hulls, then pipe icing with offset() and add a name on the body.
Try changing:
top_textsymbolbottom_texttext_reliefheightthicknessicing_heighticing_outlineloop_holeLow compile complexity. Flat hulls, two offsets and short text; compiles quickly.
How this model works
The head is a circle, and the body, arms and legs are hulls of pairs of circles, so each limb gets rounded ends. The piped icing outline is the difference between two inward offsets of the same cookie outline. The face and outline are raised by icing_height, the message by text_relief, and everything is designed at 100 mm and scaled to height, with the loop added after scaling so its hole stays the size you set. Text size is estimated from the character count, so long names get smaller. Pausing at the icing layer lets you print white icing on a brown cookie.
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 him 70 mm tall and turn off icing_outline. Then add three raised buttons under the message using a for loop.
Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.