I tried to extend a tikz example. So I did this :
\newcommand\topside[7]{
\draw[fill=#7!50!white, draw=black,shift={(\xaxis:#1)},
shift={(\yaxis:#2)}, shift={(\zaxis:#3)}]
(0,0) -- ++(\yaxis:{-#5}) -- ++(\xaxis:{-#4}) -- ++(\yaxis:#5) --
++(\xaxis:#4);
}
and so on. Basically, I used #1, #2 and #3 as the coordinates of the nearest corner, like the example, #4, #5, #6 for the sizes of the sides, and #7 the color of the face.
My problem : when I ask for drawing a parallepiped, nothing is drawn.
Could you help me on this one ?
Thanks.