Loading

Scaleable Ghost

by probot128, published

Scaleable Ghost by probot128 Jul 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.

More from 3D Printing

view more

Makes

License

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

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

Comments

You must be logged in to post a comment.

Top