3D Darstellung einer Zeichnung

Tabellen und Grafiken erstellen und anordnen


Patrick1990
Forum-Century
Forum-Century
Beiträge: 213
Registriert: Mo 18. Feb 2013, 07:56
Wohnort: Ilmenau

3D Darstellung einer Zeichnung

Beitrag von Patrick1990 »

Hallo,
ich versuche mich gerade in einer dreidimensionalen Skizze in Tikz, jedoch sieht es noch nicht so aus wie es soll.
Zum einen ist der Blickwinkel noch nicht der richtige und die "verborgenen Linien" hinter dem Kreis sollen gestrichelt angezeigt werden. Da habe ich aktuell auch noch keine Idee.
Eine Powerpoint-Skizze lade ich mit hoch.


Könnt Ihr mir helfen?

Hier noch ein Minimalbeispiel:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usetikzlibrary{patterns, positioning}


\begin{document}


%\tdplotsetmaincoords{0}{20}
\tdplotsetmaincoords{0}{0}
\tdplotsetrotatedcoords{0}{-45}{0}

\begin{tikzpicture}[tdplot_rotated_coords, scale=1, >=latex]
%\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
%\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
%\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
%
% Rechteck um Kreis
\draw[densely dashed, gray, thick](-1,-1,0) rectangle (1,1,0);
% Kreis
\filldraw[thick, pattern=north west lines, pattern color=black!10](0,0) circle (1) node[midway, above] {Object};
% Bemaßung links
\draw[dashed] (-1,-1) --++ (-0.25,0);
\draw[dashed] (-1,1) --++ (-0.25,0);
\draw[<->] (-1.125, -1) -- (-1.125, 1) node[midway, left] {a};
% Bemaßung oben
\draw[dashed] (-1,1) --++ (0,0.25);
\draw[dashed] (1,1) --++ (0,0.25);
\draw[<->] (-1, 1.125) -- (1, 1.125) node[midway, above] {a};
%
%
% Hintere Ebene
\def\Depth{-4}
\draw[thick, fill=blue!20](-2,-2,\Depth) rectangle (-1.5,-1.5,\Depth);
\draw[thick, fill=blue!20](2,-2,\Depth) rectangle (1.5,-1.5,\Depth);
\draw[thick, fill=blue!20](-0.25,2,\Depth) rectangle (0.25,1.5,\Depth);
% Linien nach hinten
\draw[] (0,0,0) -- (-1.75,-1.75,\Depth);
\draw[] (0,0,0) -- (1.75,-1.75,\Depth);
\draw[] (0,0,0) -- (0,1.75,\Depth);
% Linien in hinterer Ebene
\draw[<->, dashed] (-1.75,-1.75,\Depth) -- (1.75,-1.75,\Depth) node[midway, above] {b};
\draw[<->, dashed] (-1.75,-1.75,\Depth) -- (0,1.75,\Depth) node[midway, above] {b};
\draw[<->, dashed] (1.75,-1.75,\Depth) -- (0,1.75,\Depth) node[midway, above] {b};


\end{tikzpicture}

\end{document}
Dateianhänge
skizze.png

Patrick1990
Forum-Century
Forum-Century
Beiträge: 213
Registriert: Mo 18. Feb 2013, 07:56
Wohnort: Ilmenau

Re: 3D Darstellung einer Zeichnung

Beitrag von Patrick1990 »

Hat niemand eine Idee?

Antworten