extrude 2-D plot to 3-D plot
extrude(p, erange, transform, opts)
a PLOT structure
range or list, the values of the extrusion parameter in the mapping
(optional) the extrusion mapping as described below
zero or more options as described below
numsegments = integer
Specifies the number of copies of the original 2-D object to appear in the extrusion.
The extrude command takes a 2-D plot object and generates a 3-D plot in which the original object is extruded along a path specified by transform.
The path parameter transform is a mapping of the form x,y,t↦f⁡x,y,t,g⁡x,y,t,h⁡x,y,t in which x and y are the coordinates of a point in the original 2-D object and t is the extrusion parameter, sampled from erange. The default value for transform is the identity function, which corresponds to a uniform extrusion of the original plot in the z direction over the interval specified by erange.
In the case when erange is a range, the numsegments option specifies the number of sample points over this range and therefore the number of copies of the original object that should appear in the extrusion.
p ≔ plot⁡sin⁡x+cos⁡3⁢x,x=−5..5,thickness=3
BlueDisk ≔ plots:-display⁡disk⁡1,color=blue:BlueDisk
The plottools[extrude] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document