OpenSCAD Gingerbread Man Ornament example

OpenSCAD examples
/

Gingerbread Man Ornament

Beginner

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_hole

Low 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

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

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.

FAQ