standard logo    Personal Education


malefemale

Figurines

Some of you are probably realizing that these notes are not appearing on the website in chronological order. Sorry. I didn't know I was going to write them. I'm looking back at my 3D things, posting here about some, but probably not all, of my projects.

These basic figurines are from January. It's March 31st today. These figurines followed on from the chess set. Eventually, I'll dig into more realistic 3D, but not yet. I am still building my understanding of OpenSCAD. I think I'll need to look at another design program (Blender?) for modeling of organic shapes.

These "people" are constructed as stacks of cylinders, tapered cylinders, sphere's and and a cube for the hips. Download, open and explore. I did attempt to jam the use of variables into the parts placement, but it is still not an elegant set of instructions. The code is very linear, mostly stacking one part on top of another. The short block of code for the shoulders shows how the clutter of variables works. Though it is not using the power of variables, much, it did help me to keep track of where I was in the stack because I named the variables for the body part and applied it's vertical size for the value. It was a little like the old song "Dry Bones" . "The foot bone's connected to the ankle bone. The ankle bone's connected to the shin bone. Etc."


// VARIABLES
// z-scale variables
base=2;
calfa=6;
calfb=6;
thigha=8;
thighb=9;
hipht=10;
thoraxht=16;

// x-scale variables
shift=12;
hip=-5;
hip2=shift + 2*(-hip);

/* 
Gap in code here
clambering up to shoulders 
and illustrating a multi-line comment
*/

// shoulders
hull(){
translate([shift-shift+.5,0,base+calfa+calfb+thigha+thighb+hipht+thoraxht])
cylinder(5,8,6);
translate ([hip-3.2*hip,hip+5,base+calfa+calfb+thigha+thighb+hipht+thoraxht])
cylinder(5,8,6);
}

The big difference between the two figures is the added spheres to emphasize some female features. Please don't be offended.

Available Files:

figurine-male.scad - to download, study, modify, FIX, and share again.
figurine-female.scad - with minimal differences from the male
figurine-male.stl - ready to print
figurine-female.stl - print if you dare
GPL3 License