Return to index

NAME

ring - create a circular ring with inner and outer radii

SYNOPSIS

ring vc rmin rmax

DESCRIPTION

Create a circular face of the current material centered on the named vertex vc with an inner radius of rmin and an outer radius of rmax. The surface orientation is determined by the normal vector associated with vc. If this vertex is undefined or has no normal, an error will result. The minimum radius may be equal to but not less than zero, and the maximum radius must be strictly greater than the minimum.

EXAMPLE

# The proverbial brass ring
o brass_ring
	m brass
	v end1 =
		p 0 -.005 0
		n 0 -1 0
	v end2 =
		p 0 .005 0
		n 0 1 0
	ring end1 .02 .03
	cyl end1 .03 end2
	ring end2 .02 .03
	cyl end2 -.02 end1
o

SEE ALSO

cyl, cone, f, m, prism, sph, torus, v