the other axis. We will learn more about ellipses
later in this chapter.
If the angle is too large for the cylinder’s height,
one or both ends of the ellipse will be chopped off
where it intersects the ends. If we rotate all the
way to 90 degrees, the sides will become straight,
and we’ll get a rectangle, just as we saw for the
prism. To create the model in Figure 10-8, use
these parameters:
n = 100
sliceangle = [30, 0, 0]
sliceheight = h / 2
SLICING A SPHERE
Imagine you have a sphere. If you cut it with a
knife, what does the slice look like? No matter
how you cut through a sphere, you will get a
circular cross-section (Figure 10-9). All cuts
through the center will be identical circles, and
cuts that don’t go through the center will also be
circles, but smaller ones.
Since a sphere is perfectly symmetrical around
its center, the angle of the cut doesn’t matter.
All that matters is the distance from the center
of the sphere to the closest point on the cutting
plane. You can see a sliced sphere in this photo
from model sphere_section.scad.
The model has just two parameters: size,
which is the sphere’s diameter (in mm), and
sliceheight, which is how far from the center
of the sphere the cutting plane is intersecting it.
CONIC SECTIONS
When we cut prisms earlier in the chapter,
we always wound up with another polyhedral
cross-section. When we cut a cylinder, we got
a circle or an ellipse (or a rectangle, if we cut
through it perpendicular to the base). Cones
are a bit more complicated, though. The conic
Slant height
Slant angle
FIGURE 109: A sliced sphere
FIGURE 1011: A flashlight making a circle on a wall (slightly
distorted by tube and photo angle)
FIGURE 1010: Slant angle and slant height
Make: Geometry 207
206 Chapter 10: Slicing and Sections
Geometry_Chapter10_v15.indd 206Geometry_Chapter10_v15.indd 206 6/23/2021 9:10:46 AM6/23/2021 9:10:46 AM