#### 10.9.18 lineTube

• lineTube( <3D point list>, <radius>, <nb faces> [, closed, hollow] )
• Description: that macro returns in the form of facets, a tube centered on the <3D point list>, with the given <radius> and <nb faces>. The parameter <closed> is $0$ or $1$ and shows if the line has to be closed or not ($0$ by default). The parameter <hollow> is $0$ or $1$ and shows if the tube is hollow or has to be closed at the end ($1$ by default), That parameter is not taken in count if the line is closed.

 \begin{texgraph}[name=lineTube,export=pgf]   Marges(0,0,0,0), size(7.5),   L:=for z in polyreg(0, 3.5, 6)      do [z,0] od,   S:=lineTube(L, 1, 12, 1),   DrawFlatFacet(S,[color:=steelblue,                    backculling:=1])   \end{texgraph}

lineTube