How do you solve the guillotine cut problem with a rhinoceros or a grasshopper?
Perhaps Open Nest could help you