Tag Info

New answers tagged

2

Here's your code with fixes I've suggested in comments: DynamicModule[ {Location = {{0, 0, 0}, {0, 0, 0}}, pos10 = {{}, {}}, pos11 = {{0, 0, 0}, {0, 0, 0}}, pos12 = {{0, 0, 0}, {0, 0, 0}}, pos20, pos21 = {{0, 0, 0}, {0, 0, 0}}, pos22 = {{0, 0, 0}, {0, 0, 0}}, posInt, x, y, z, Chosen = 1}, posInt[] := ...


0

I've fixed your code basing on the knowledge from the links from comments. With addition that: Translate[Cuboid[], {{1, 1, 1}, {2, 2, 2}}] is not really a list of Cuboids so you need to move [[i]] inside. DynamicModule[{ pos10 = {{}, {}}, pos11 = {{0, 0, 0}, {0, 0, 0}}, pos12 = {{0, 0, 0}, {0, 0, 0}}, pos20, pos21 = {{0, 0, 0}, {0, 0, 0}}, pos22 ...



Top 50 recent answers are included