doppoptoolutils module¶
-
doppoptoolutils.
addVortexFilaments
(scriptargs)¶ Select geometry for vortex filaments, and then add a Source Filaments, POP Advect by Filaments, and Filament Solver to the simulation.
-
doppoptoolutils.
applyGeoModifier
(scriptargs, modifiernodetype, prompt=None, targetinput='vel')¶ Select a geometry and then a set of points to affect with that geometry, returning a tuple of the two. (node, geometry)
-
doppoptoolutils.
applyModifier
(scriptargs, modifiernodetype)¶ Select a set of points and apply a specified modifier to it, returning the modifier
-
doppoptoolutils.
buildDopObjectMenu
(node)¶ Builds a menu containing the names of the DOP objects in the simulation, which can be used for e.g. filtering collisions.
-
doppoptoolutils.
buildGroupMenu
(node)¶ Inspects this DOP node and returns a group menu suitable for the group script
-
doppoptoolutils.
buildGroupMenuFromBinding
(node, geoparm, grouptype)¶ Inspects this DOP node using the geometry bound in geoparm and returns a group menu of the specified grouptype, suitable for the group script
-
doppoptoolutils.
buildGroupMenuFromSOP
(sop, grouptype)¶ Inspects the provided SOP and returns a group menu of the specified grouptype, suitable for the group script
-
doppoptoolutils.
computePointSeparation
(geo)¶ Compute a sensible point separation for the Grain Source node.
-
doppoptoolutils.
createFireworksEmitter
(scriptargs)¶ Select an position and emit fireworks from it.
-
doppoptoolutils.
createLocationEmitter
(scriptargs)¶ Select an position and emit points from it.
-
doppoptoolutils.
createParticleSystem
(name, forcepoints=False)¶
-
doppoptoolutils.
createSandBox
(scriptargs)¶ Select a grid and turn it into a layer of sand.
-
doppoptoolutils.
createSandSource
(scriptargs, style)¶ Select an object and turn it into a pile of sand.
-
doppoptoolutils.
createSandSourceFromObject
(origobj, style)¶ Giving an OBJ_Node builds a sand object.
-
doppoptoolutils.
createSopVellum
(scriptargs, style)¶ Select and object and make a SOP based vellum solve out of it.
-
doppoptoolutils.
createSopVellumFromObject
(objnode, collidenode, style)¶ Creates a new object to turn the objnode into the given style and simulate at SOP level. Collides with optional collidenode.
-
doppoptoolutils.
createSourceEmitter
(scriptargs)¶ Select an object and emit points from it.
-
doppoptoolutils.
createVellumSource
(scriptargs, style)¶ Select an object and turn it into a pile of sand.
-
doppoptoolutils.
createVellumSourceFromObject
(origobj, style)¶ Giving an OBJ_Node builds a vellum object.
-
doppoptoolutils.
createVellumSystem
(name)¶
-
doppoptoolutils.
dopPopGeometryInit
(info, dopobjectnode, solvernode, objectnode, sopnode)¶ Specializes the DOP Object node initialization process for POP Objects created from a simple geometry selection. This creates a POP Object with a POP Shape Match force attached.
-
doppoptoolutils.
dopPopParticleInit
(info, dopobjectnode, solvernode, objectnode, sopnode)¶ Specializes the DOP Object node initialization process for POP Objects created from a POP Network selection.
-
doppoptoolutils.
findOrCreateParticleSystem
(name, forcepoints=False)¶ Tries to find an existing particle system in the current dop network, returns that if present. Otherwise creates and returns one of the given name
-
doppoptoolutils.
findOrCreateVellumSystem
(name)¶ Tries to find an existing particle system in the current dop network, returns that if present. Otherwise creates and returns one of the given name
-
doppoptoolutils.
findParticleSystem
()¶ Tries to find an existing particle system in the current dop network. Returns the representative object if found.
-
doppoptoolutils.
findVellumSystem
()¶ Tries to find an existing particle system in the current dop network. Returns the representative object if found.
-
doppoptoolutils.
generateSelectionString
(selection)¶ Generate a selection string from a selection. If everything is selected (e.g., all points, all primitives), then the “*” string is returned.
-
doppoptoolutils.
linkInNode
(node, solvernode, input)¶ Links the given node into the provided named input of the solver node. Will replace the Merge node if present.
-
doppoptoolutils.
setupAutoFreeze
(scriptargs)¶ Turns on auto-freezing for a solver.
-
doppoptoolutils.
twoStepPointSelection
(activepane)¶