Expected output (2nd line has 5mm more indent than 1st, 3rd and following lines have 5mm more indent than 2nd):
\documentclass{article}
\begin{document}
\setlength{\parindent}{0pt}
\parshape=3 5mm 40mm 10mm 35mm 15mm 30mm
This is sentence 1. This is sentence 2. This is sentence 3. This is sentence 4. This is sentence 5.
\end{document}
Bad output (tikz):
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path node[draw,text width=50mm]
{ \setlength{\parindent}{0pt}
\parshape=3 5mm 40mm 10mm 35mm 15mm 30mm
This is sentence 1. This is sentence 2. This is sentence 3. This is sentence 4. This is sentence 5.
};
\end{tikzpicture}
\end{document}