I am trying to position a node in 3D according to the (x, y) coordinates of a node previously defined on another z level.
However, I can't figure out how to make it work:
\documentclass{article}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\usepackage[pdftex, active, tightpage]{preview}
\usetikzlibrary{calc, 3d, backgrounds, positioning}
\setlength\PreviewBorder{2mm}
\begin{document}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\begin{preview}
\begin{tikzpicture}[scale = 1, x = {(-0.2cm, -0.5cm)},
y = {(0.9659cm, -0.05882cm)},
z = {(0cm, 1cm)}]
\begin{scope}[canvas is yx plane at z = 0]
\draw (2, 3) node[inner sep = 0pt, outer sep = 0pt, color = black!60, circle, minimum size = 0.2pt] (1) {};
\draw (3, 3) node[inner sep = 0pt, outer sep = 0pt, color = black!60, circle, minimum size = 0.2pt] (2) {};
\draw (3, 2) node[inner sep = 0pt, outer sep = 0pt, color = black!60, circle, minimum size = 0.2pt] (3) {};
\draw (1.center) -- (2.center) -- (3.center) -- cycle;
\end{scope}
\begin{scope}[canvas is yx plane at z = 1.5]
\draw (2, 3) node[inner sep = 0pt, outer sep = 0pt, color = red!60, circle, fill, text width = 0.2pt] {};
\draw node[inner sep = 0pt, outer sep = 0pt, color = blue!60, circle, fill, text width = 0.2pt] at (1) {};
\end{scope}
\end{tikzpicture}
\end{preview}
\end{document}
The red node is where he is supposed to be, with the explicit (x, y) coordinates (just ''above'' the first node), but the blue node is at z = 0
What is an efficient way to make this work, i.e. to have the blue node cover the red node ? (is it possible to avoid using the second scope and just use at (1) ++ some magic relative displacement in 3D here or even some hidden(*) zshift parameter ?)
(*) I couldn't find this in the manual
