dopparticlefluidtoolutils module

dopparticlefluidtoolutils.beachTank(kwargs)
dopparticlefluidtoolutils.collideWithFluid(sourcenode, dopnode, solvernode)
dopparticlefluidtoolutils.convertToFLIP(dopobjectnode, nosopcooking=False)

Customize particle fluid dopnet into a FLIP dopnet nosopcooking disables any potential cooking of SOPs, and requires the caller is willing to setup the limits, etc.

dopparticlefluidtoolutils.createCrownSplash(kwargs)

Creates a crown splash effect using a flip fluid box, an emitter and surface tension

dopparticlefluidtoolutils.createDripParticleFluid(kwargs)

Creates a dripping fluid effect using a continuous sphere emitter and surface tension

dopparticlefluidtoolutils.createMist(kwargs)

Selects a fluid sim for generating mist. Will then create a new DOP to hold the resulting whitewater sim.

dopparticlefluidtoolutils.createMistFromNode(sceneviewer, fluidnode)

Creates a mist solver from a given node.

dopparticlefluidtoolutils.createSculptedFluid(scriptargs)
dopparticlefluidtoolutils.createSteam(kwargs)

Selects a fluid sim for generating steam. Will then create a new DOP to hold the resulting whitewater sim.

dopparticlefluidtoolutils.createSteamFromNode(sceneviewer, fluidnode)

Creates a steam solver from a given node.

dopparticlefluidtoolutils.createSteamImport(prefixname, dopobject, sizeparm)

Creates a node to import from a dopobject as a steam look/sim.

dopparticlefluidtoolutils.createSteamSource(fluidnode, nameprefix)

Creates a source for steam Returns the created source object

dopparticlefluidtoolutils.createWhitewater(kwargs)

Selects a fluid sim for generating whitewater . Will then create a new DOP to hold the resulting whitewater sim.

dopparticlefluidtoolutils.createWhitewaterEmitter(dopnet, prefixname, sourcenode, pointcount, inheritvel)

Creates the POP/source replicate paradigm, returns the final node in this chain

dopparticlefluidtoolutils.createWhitewaterFromNode(fluidnode)

Post selection, creates a white water from a given DOP node

dopparticlefluidtoolutils.createWhitewaterImport(prefixname, dopobject, sizeparm, foamlocparm=None)

Creates a node to import from a dopobject as a white water look/sim.

dopparticlefluidtoolutils.createWhitewaterSource(fluidnode, nameprefix)

Creates a source for white water Returns the created source object

dopparticlefluidtoolutils.createadvectpop(solver, advectsource, oceansource, scale)
dopparticlefluidtoolutils.createdeleteboundary(dopimport, box, boundscale, do_layout=True)
dopparticlefluidtoolutils.createflipbox(sceneviewer, center, size)

Creates a flip fluid box at the given center and size

dopparticlefluidtoolutils.createoceanbox(sceneviewer, preset, center, size, followobj, beachobj, createspectrum, createbeach)

Creates a flip fluid box at the given center and size

dopparticlefluidtoolutils.createoceanboxtwo(sceneviewer, preset, center, size, followobj, beachobj, createspectrum, createbeach, createguide, createnarrowband, createextended)

Creates a flip fluid box at the given center and size

dopparticlefluidtoolutils.createoceansource(preset, createspectrum, createbeach, kwargs)

Creates a wave tank of flip particles to be all splashy and render ready.

dopparticlefluidtoolutils.createoceansourcetwo(preset, createspectrum, createbeach, createguide, createnarrowband, createextended, kwargs)

Creates a wave tank of flip particles to be all splashy and render ready.

dopparticlefluidtoolutils.distributeParticleFluidSimulation(activepane, fluidobject)

Adds in the netslice exchange and a control panel to operate the tracker

dopparticlefluidtoolutils.distributeWhitewaterSimulation(activepane, wwobject)

Adds in the netslice exchange and a control panel to operate the tracker

dopparticlefluidtoolutils.flatTank(kwargs)
dopparticlefluidtoolutils.flipBox(kwargs)

Creates a fluid tank of flip particles for the user to play with.

dopparticlefluidtoolutils.getParticleFluidSliceCount(fluidobject)

Returns the number of slices in the fluidobject. A value of 1 means that there is no slicing.

dopparticlefluidtoolutils.guidedOceanLayer(kwargs)
dopparticlefluidtoolutils.largeOcean(kwargs)
dopparticlefluidtoolutils.makeObjectViscous(flipnode)

Giving the flipnode set up viscosity for it. No-op if already is.

dopparticlefluidtoolutils.makeViscous(kwargs)

Turn on viscosity for the selected FLIP objects.

dopparticlefluidtoolutils.oceanFlatTank(kwargs)
dopparticlefluidtoolutils.oceanFromSpectra(oceansurface, gridsize, gridres, foamcam, spectra, kwargs)
dopparticlefluidtoolutils.op_div(val, diam)

Divides val by diam

dopparticlefluidtoolutils.op_mult(val, diam)

Multiplies val by diam

dopparticlefluidtoolutils.op_multsquare(val, diam)

Multiplies val by diam^2

dopparticlefluidtoolutils.particleFluidSuction(fluidobject, goalobject)

goalobject is made a target goal of fluidobject.

dopparticlefluidtoolutils.particleFluidSuctionSelect(kwargs)

Selects fluid & suction object, then creates a suction effect driving the fluid into the target.

dopparticlefluidtoolutils.particlefluidAddEmitterOrSink(kwargs, emitterorsink)

Selects a fluid object to be the destination. If none selected, creates a new particle fluid.

dopparticlefluidtoolutils.particlefluidConvertToEmitterOrSink(fluidobject, dopnode, sopnode, emitterorsink)

We add to the selected dopnode an emitter or sink which loads from objectnode. If sopnode is None, we use default ellipse/box. If dopnode is None, we look at fluidobject’s creator.

dopparticlefluidtoolutils.particlefluidFindNamedMergeFromNode(dopnode, mergetype)

Giving a DOP Node, find the particle fluid solver attached to the object. Then look for the merge node off the semantically named input, creating a merge node if not present, and returning that merge node.

dopparticlefluidtoolutils.sliceSimByPlane(scriptargs, slicetype)

The user selects an existing cutting plane or simulation object. A new cutting plane is made a child of this.

dopparticlefluidtoolutils.smallOcean(kwargs)
dopparticlefluidtoolutils.sourceParticleAttribFromVolume(flipnode, sourcesop, dopname, sourcename, destname, attribtype, mergemethod=None, rangein=None, rangeout=None, targetrate=None, increaserate=None, decreaserate=None)

Giving the flipnode add a Source Particle Attrib DOP to it.

dopparticlefluidtoolutils.waveTank(kwargs)