How can I generate a new tuples by joining each element of tup3 to tup1?
For example joining {0,1,1,1,0,-1} from tup1 and {d,0,1} from tup3 to generate {0,1,1,1,0,-1,d,0,1}
tup1 = Tuples@{{0, 1}, {-1, 0, 1}, {-1, 0, 1}, {0, 1}, {-1, 0,
1}, {-1, 0, 1}};
tup2 = Tuples[{{0, 1, -1}, {0, 1, -1}}];
tup3 = tup2 /. {a_, b_} :> {d, a, b}
Join @@@ Tuples[{tup1, tup3}]
? $\endgroup$Join @@@ Tuples[{tup1, {{d}}, tup2}]
$\endgroup$