add TriangleConstraint in python bindings.