massed_rebound_fraction#
- ptrace.massed_rebound_fraction(p0: float) int #
If using massed particle restitution this sets a termination criteria. Only if the rebound velocity as a fraction of the initial impact velocity if greater than this value will the particle continue to be tracked.
There are other terminating particle trace criteria such as the time limit controlled by “ptrace: total_time” and the fraction of initial impact velocity controlled by “ptrace: mass_rebound_fraction”- Args:
- p0:
‘fraction’ the fraction of initial impact velocity
- Examples:
ensight.part.select_begin(2) ensight.part.modify_begin() ensight.ptrace.massed_rebound_fraction(.01) ensight.part.modify_end()
- Returns:
zero on success, non-zero on error