plottools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/extrude

plottools

  

extrude

  

extrude 2-D plot to 3-D plot

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

extrude(p, erange, transform, opts)

Parameters

p

-

a PLOT structure

erange

-

range or list, the values of the extrusion parameter in the mapping

transform

-

(optional) the extrusion mapping as described below

opts

-

zero or more options as described below

Options

• 

numsegments = integer

  

Specifies the number of copies of the original 2-D object to appear in the extrusion.

Description

• 

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,tfx,y,t,gx,y,t,hx,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.

Examples

withplottools:

pplotsinx+cos3x,x=5..5,thickness=3

extrudep,1..2

BlueDiskplots:-displaydisk1,color=blue:BlueDisk

extrudeBlueDisk,0..10,x,y,tx+cost,y+sint,t,numsegments=20

Compatibility

• 

The plottools[extrude] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

CAD

plottools/exportplot

plottools/transform