addTufts()
Create a Tufts actor.
Usage
tufts = vis.addTufts( points, name, vols = None )
Parameters
- points (list)
- Random points which should be projected to create tufts actor.
- name (string)
- Optional name.
- vols (list), (string) or (integer)
- Volume(s).
Return Value
- tufts (object)
- Tufts actor
Errors
vols should include valid volumes or be None.
Description
points = vis.genPoints( type = "2d_grid",
point1 = [xmin, ymid, zmin],
point2 = [xmax, ymid, zmin],
point3 = [xmax, ymid, zmax],
nXPoints= 100,
nYPoints= 100 )
tufts = vis.addTufts( points, "mid-plane" , 'impeller')