Model.mechjointlimits#

Model.mechjointlimits(limits)#

Sets the type of limits to use on joints for the current dummy.

The mechanism must have the enabled flag set to true for this to be possible.

Parameters:

limits (unsigned int) –

0 - Hard limits (default)

1 - Soft limits

Example#

Activate soft limits on the current dummy#
import hm
import hm.entities as ent

model = hm.Model()

model.mechjointlimits(limits=1)