mpacts.commands.misc. skinsurfacemesh

In order to be able to use this module import it like this:

import mpacts.commands.misc.skinsurfacemesh
#or assign it to a shorter name
import mpacts.commands.misc.skinsurfacemesh as ski

ComputeSphereSkinSurfaceMeshCommand

class mpacts.commands.misc.skinsurfacemesh.ComputeSphereSkinSurfaceMeshCommand

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

To be written.
Default location: ‘loop_cmds/output_cmds’
  • Required keywords:
    • nodes — Array manager that keeps the nodes of the mesh in which the skin surface will be saved.
    • pc — Particle container on which the command is applied
    • shrink_factor — Shrink factor that determines the size of the smooth patches gluing the balls together
    • triangles — Array manager that keeps the triangles in which the skin surface will be saved.
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • n_subd (default value = 1) — Number of subdivisions
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, shrink_factor, triangles, nodes, [gate, predicate, n_subd]
ComputeSphereSkinSurfaceMeshCommand(name, parent, **kwargs)