|
![](/i/fill.gif) |
Tor Olav Kristensen wrote:
>...
> The code also shows how to make a sphere
> touch any 4 points in 3D-space that are
> not co-planar (Hmmm... I wonder if it's
> correct to say that about points.)
>...
To see an interesting property of this
sphere, uncomment my code as described
within it, and add these lines of code to
the end of the script.
Tor Olav
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7 =
CircleTouches3Points(pA, pB, pD, pCtr, R, vPl)
difference {
cylinder { -0.05*vPl, 0.05*vPl, R + 0.04 }
cylinder { -0.06*vPl, 0.06*vPl, R - 0.04 }
translate pCtr
pigment { color Cyan }
}
CircleTouches3Points(pA, pC, pD, pCtr, R, vPl)
difference {
cylinder { -0.05*vPl, 0.05*vPl, R + 0.04 }
cylinder { -0.06*vPl, 0.06*vPl, R - 0.04 }
translate pCtr
pigment { color Cyan }
}
CircleTouches3Points(pB, pC, pD, pCtr, R, vPl)
difference {
cylinder { -0.05*vPl, 0.05*vPl, R + 0.04 }
cylinder { -0.06*vPl, 0.06*vPl, R - 0.04 }
translate pCtr
pigment { color Cyan }
}
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7 =
Post a reply to this message
|
![](/i/fill.gif) |