Notifications
Clear all

[Closed] set theories and MAXscript

Hello,
my name is Alex and im new in this forum. i have a problem with a project that im making in my university and im seeking for an advice. What i want to do is to apply “set theories” in a number of objects, lets say boxes.

how could i apply this http://en.wikipedia.org/wiki/Power_set kind of rules in order to describe the movement of boxes in a specified space?

for example:

i have a set like this [x,y,z]

and i have these types of “movement cases” :

case0: {[x],[y],[z],[yORz], [xORyORz]}
case1: {[x], [y], [z], [xANDy], [xANDz], [yANDz], [xANDyANDz], [xORy], [xORz], [xORyORz]}
case2: {[x], [z], [xANDz], [yORz], [xORyORz]}

now how can i write a code that manages the movement of the 3 boxes (later there would be 3 groups of boxes) according to such cases ?

thank you!