shell
The cylindrical shell at radius r of a revolution about y, as tall as the profile there.
shellOnly with
xyzplane

#Attributes
ofThe revolution about y it is cut from, by
#id.Can be written as shorthand:
shell:valuerThe shell's radius.
Also written:
radiusthicknessHow thick the shell is.
Default
0colourThe shell's colour; faces are shaded in steps of it by how squarely they face the camera's light.
paintAlso written:
colorDefault
redopacityHow solid it is.
Default
0.8labelWords drawn beside it, over everything.
hiddenDeclared but not drawn.
Default
falselockStops a reader editing it.
Also written:
lockedDefault
falselayerAccepted for parity with the flat marks; in space the paint order is depth.
groupThe comma-separated groups this mark belongs to, which set its colour and style from the graph's
key:.#Derived attributes
Computed while the element renders — read one with #id.name in attribute position or {{#id.name}} in prose, never set.
volumeThe volume between the shell's two walls, in cubic units of the box; a dash with no
thickness:, outside the revolution's span, or where the profile does not resolve.#Allowed in
#Examples
![The region under y = 2x² − x³ on [0, 2] turned about the y axis, with the cylindrical shell at radius 1 cut from it.](/_next/image?url=%2Fmanual-figures%2Fexample-shell-1.light.jpg&w=3840&q=90&dpl=dpl_FnbJEo5G35bW1x8knVYhKdRonU2u)
![The region under y = 2x² − x³ on [0, 2] turned about the y axis, with the cylindrical shell at radius 1 cut from it.](/_next/image?url=%2Fmanual-figures%2Fexample-shell-1.dark.jpg&w=3840&q=90&dpl=dpl_FnbJEo5G35bW1x8knVYhKdRonU2u)
graph:xyz{
revolution#cup(expression: 2x^2 - x^3; about: y; x: [0, 2]; opacity: 0.3)
shell(of: #cup; r: 1; thickness: 0.1; colour: orange)
}(
x domain: [-2, 2]
y domain: [0, 2]
z domain: [-2, 2]
aspect: equal
)

graph:xyz{
revolution#cup(expression: 2x^2 - x^3; about: y; x: [0, 2]; opacity: 0.2)
shell(of: #cup; r: 1.2; thickness: 0.4)
}(
x domain: [-2, 2]
y domain: [0, 2]
z domain: [-2, 2]
aspect: equal
)#Notes
- Space only (
graph:xyz).