I faked a solid on the paper plane, but here
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[left=2.00cm, right=3.00cm, top=1.00cm, bottom=1.00cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{angles, calc}
\begin{document}
\begin{tikzpicture}[thick]
\def \l{ 6.0 } % Defines the width of the parallelepiped
\def \d{ 5.0 } % Defines the depth of the parallelepiped
\def \h{ 7.0 } % Defines the heigth of the parallelepiped
\def \s{ 3.0 } % Defines the shift from the parallelepiped to the edge of the trapezoid
\coordinate (A) at (0,0);
\coordinate (B) at (\l,0);
\coordinate (C) at ({\l+\d/(2*sqrt(2))},{\d/(2*sqrt(2))});
\coordinate (D) at ({\d/(2*sqrt(2))},{\d/(2*sqrt(2))});
\draw (A) -- node[midway, below] {$a$} (B);
\draw[dashed, thin] (B) -- node[midway, right=2pt] {$b$} (C);
\draw[dashed] (C) -- node[midway, below] {$c$} (D) -- node[midway, left=2pt] {$d$} (A);
\coordinate (E) at (0,\h);
\coordinate (F) at (\l,\h);
\coordinate (G) at ({\l+\d/(2*sqrt(2))},{\h+\d/(2*sqrt(2))});
\coordinate (H) at ({\d/(2*sqrt(2))},{\h+\d/(2*sqrt(2))});
\coordinate (I) at ({\s+\l+\d/(2*sqrt(2))},{\d/(2*sqrt(2))});
\coordinate (J) at ({\s+\l+\d/(2*sqrt(2))},{\h+\d/(2*sqrt(2))});
\draw (E) -- node[midway, below] {$i$} (F) -- node[midway, below right=2pt] {$p$} (J) -- node[pos=0.2, below] {$o$} node[pos=0.65, below] {$k$} (H) -- node[midway, left=2pt] {$l$} cycle;
\draw[thin] (F) -- node[midway, right=2pt] {$j$} (G);
\draw (A) -- node[midway, left=2pt] {$e$} (E) (B) -- node[midway, left=2pt] {$f$} (F);
\draw[dashed, thin] (C) -- node[pos=0.3, left=2pt] {$g$} (G);
\draw[dashed] (D) -- node[pos=0.3, left=2pt] {$h$} (H);
\draw[dashed] (C) -- node[midway, below] {$m$} (I);
\draw (I) -- node[midway, below right=2pt] {$n$} (B);
\draw (I) -- node[pos=0.3, right=2pt] {$q$} (J);
\draw pic[pic text=$\cdot$, draw, angle radius=10pt] {angle=B--C--I};
\end{tikzpicture}
\end{document}
the (German) right angle symbol doesn't look like it belongs to the horizontal plane. Well, that's because it's not a right angle in the paper plane. But it is in the horizontal plane. It has been answered before how to do it with the square-ish symbol, but how can I "fix" it with this rounded symbol?
canvas is xy plane at z=0
is in Drawing Axis Grid in 3D with Custom Unit Vectors.angle=
from theangles
library, but I have fixed that. Basically I just drew the arc in the right plane (which is an elliptic arc) and then put the dot in the middle. But I also like the feature of choosing the "point of view" given by thetikz-3dplot
package: very intuitive just specifying the angles. Is there a way to do it with just the3d
library and no extra package?tikz
and it's3d
library. Thexparse
package there was only use to define the\NewDocumentCommand
. You of course can use\newcommand
to define those --xparse
just make it easier.\tdplotsetmaincoords
in the3d
library. I found no trace of it in the pgfmanual. I find it very convenient intikz-3dplot
in order to change the orientation of the axes. I know I can achieve the same result with3d
if I just redefine the axes, but I need to compute them separately and still, it's three values that I have to change. Sure enough I could create a\newcommand
for that, but I guess I'd still have to change the canvas every time I want to draw on a different plane.x
, y` andz
to change the orientation.