friendlysam.parts.ConstraintCollection.make

ConstraintCollection.make(index)

Create constraints from contained functions.

Parameters:index – The index to call the constraint functions with.

Examples

c = ConstraintCollection(owner) c.add(func1) c += func2 # Alternative syntax. c(index) # Returns a set with all the constraints from func1 and func2