| 1 |
\documentclass[margin=2mm]{standalone} |
| 2 |
\usepackage{tikz-sections} |
| 3 |
|
| 4 |
\begin{document} |
| 5 |
\begin{tikzpicture}[x=1mm,y=1mm] |
| 6 |
\draw[help lines, step=10] (-10,-10) grid (80,60); |
| 7 |
|
| 8 |
\begin{scope}[shift={(0,0)}, rotate=5] |
| 9 |
\TikZSectionsChannel[ |
| 10 |
depth=120, |
| 11 |
flange=40, |
| 12 |
lip=12, |
| 13 |
thickness=2, |
| 14 |
inside radius=3, |
| 15 |
scale=0.12 |
| 16 |
] |
| 17 |
\draw[black] (0,0) -- (18,0); |
| 18 |
\end{scope} |
| 19 |
|
| 20 |
\begin{scope}[shift={(35,0)}, xscale=-1] |
| 21 |
\TikZSectionsZee[ |
| 22 |
depth=100, |
| 23 |
flange=35, |
| 24 |
thickness=2, |
| 25 |
bend radius=3, |
| 26 |
scale=0.12 |
| 27 |
] |
| 28 |
\end{scope} |
| 29 |
|
| 30 |
\TikZSectionsRHS[ |
| 31 |
depth=80, |
| 32 |
width=50, |
| 33 |
thickness=3, |
| 34 |
root radius=4, |
| 35 |
at={(42,4)}, |
| 36 |
scale=0.12, |
| 37 |
rotate=12, |
| 38 |
xscale=1.2, |
| 39 |
yscale=0.8, |
| 40 |
filled=true |
| 41 |
] |
| 42 |
|
| 43 |
\TikZSectionsCHS[ |
| 44 |
radius=18, |
| 45 |
thickness=2, |
| 46 |
at={(4,34)}, |
| 47 |
scale=0.18, |
| 48 |
centerline=true, |
| 49 |
dimensions=true |
| 50 |
] |
| 51 |
|
| 52 |
\node[anchor=west] at (25,45) {TikZ composition}; |
| 53 |
\fill[black] (25,40) circle[radius=1.2]; |
| 54 |
\end{tikzpicture} |
| 55 |
\end{document} |