About this project
Parametric caterpillar
A cute green caterpillar made of blended spheres. A row of body segments follows a wavy centreline, growing from small at the tail to biggest behind the head, with every other segment lifted slightly for a humped crawl. Each segment has a pair of stubby feet, and the round head carries bead eyes and two antennae with lighter tips. The belly and feet are cut flat at z = 0 so it sits on a print bed.
At the default size it is about 75 x 25 x 25 mm: one watertight body of roughly 9.9 cm³.
Parameters
Size
- catScale (0.5–3): overall size multiplier. 1 is about 80 mm long.
Body
- bodyLen (36–90 mm): length of the body path from tail to neck.
- segR (4–10 mm): radius of the biggest segment, the one behind the head.
- segSpacing (0.8–1.3): distance between segment centres as a fraction of segR. Keep it under 1.4 so the body stays in one piece. The number of segments is worked out from the body length and this spacing.
- wave (0–20 mm): how far the body wiggles sideways.
- hump (0–5 mm): how much every other segment rises. It cannot exceed 30% of segR, or segments lift off their feet.
- footSize (0.5–1.6): foot size as a factor.
Head
- headR (6–13 mm): head radius. Eyes and antennae follow it.
- eyeGap (4–12 mm): distance between the eye centres. It must stay under 1.6 × headR.
- eyeSize (1–3 mm): eye bead radius.
- antLen (3–12 mm): antenna length.
Colours
- bodyColor, tipColor, eyeColor: body, antenna tips, and eyes.
Printing
Print upright on the flat belly. The antennae and the raised head are the only parts that rise above the body, so a larger antLen or headR may want light support. For a multi-colour print, the body, antenna tips and eyes are separate colour regions.