Scaleable Ghost

179
Downloads
280
Views
Published on July 23, 2012

Description

A fully scaleable ghost for openscad. You can set size and thickness of the ghost, position and size of eyes, nose and mouth. In addition you can define wether the ghost is happy, sad or upset.

Instructions

Just load the file and call the module ghost(...). A complete parameterset you will find at the end of the example.

// module ghost(headradius, headheight, headthickness, eyesize,
// eyedistance, eyeheight, nosesize, noseheight, mouthsize,
// mouthheight, mood)
//
// headradius: thickness of the complete ghost
// headheight: the height of the cylinder without the sphere,
// for complete height add headradius
// headthickness: the ghost is hollow, you can define the thickness
// of the walls
// eyesize: how big are the eyes
// eyedistance: how far away from the center do you want to
// position the eye
// eyeheight: how high - measured from the bottom -
// do you want to position the eyes
// nosesize: how big is the nose
// noseheight: how high - measured from the bottom -
// do you want to position the nose
// mouthsize: how big is the mouth
// mouthheight: how high - measured from the bottom -
// do you want to position the mouth
// mood: 0 - for saying "Ohhh"
// 1 - for happiness
// 2 - for sadness
Tags
Report as inappropriate

You must be logged in to post a comment.