A group theory approach for assembly/disassembly mechanical simulation. Part 2- Application for trajectory generation