尺寸对于简单的文本绘图来说太大

尺寸对于简单的文本绘图来说太大

我有相对简单的 3D 绘图。它编译得很好,但我收到五个“尺寸太大”错误。我该如何避免?

\documentclass[10pt]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{intersections}

\begin{document}

\pgfmathsetmacro{\tc}{cos(25)}
\pgfmathsetmacro{\ts}{sin(25)}
\pgfmathsetmacro{\pc}{cos(140)}
\pgfmathsetmacro{\ps}{sin(140)}
\begin{tikzpicture}[x={(-\ps*1cm,\pc*\ts*1cm)},y={(-\pc*1cm,-\ps*\ts*1cm)},z={(0cm,\tc*1cm)}]
\draw[name path=i2] (1.5,0.2,0.8) -- (1.5,0.2,2.6) -- (4.5,0.2,2.6) -- (4.5,0.2,0.8) -- cycle;  
\path[name path=e2] (1.5,0,0.8) -- (1.5,0,2.6) -- (4.5,0,2.6) -- (4.5,0,0.8) -- cycle;
\draw[name intersections={of=i2 and e2}] (intersection-1) -- (1.5,0,0.8) -- (intersection-2) (1.5,0,0.8) -- (1.5,0.2,0.8);

\end{tikzpicture}

\end{document}

相关内容