\section {Chanfreiner un solide} \begin{LTXexample}[width=6cm] \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50} \psset{unit=0.5} \begin{pspicture*}(-4,-4)(4,4) \psSolid[object=cube, a=5, fillcolor=red] \end{pspicture*} \end{LTXexample} \begin{LTXexample}[width=6cm] \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50} \psset{unit=0.5} \begin{pspicture*}(-4,-4)(4,4) \psSolid[object=cube, a=5, fillcolor=red, chanfrein, chanfreincoeff=.6] \end{pspicture*} \end{LTXexample} L'option \Cadre{[chanfrein]} permet de chanfreiner un solide. Cette option utilise l'argument \Cadre{[chanfreincoeff]} (valeur $0,8$ par défaut) qui indique le rapport $k$ à utiliser ($0<k<1$). Ce rapport est celui d'une homothétie de cetre le centre de la face considérée. \begin{LTXexample}[width=6cm] \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=30} \psset{unit=0.5} \begin{pspicture*}(-4,-4)(4,4) \psSolid[object=dodecahedron, a=5, fillcolor=cyan] \end{pspicture*} \end{LTXexample} \begin{LTXexample}[width=6cm] \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=30} \psset{unit=0.5} \begin{pspicture*}(-4,-4)(4,4) \psSolid[object=dodecahedron, a=5, fillcolor=cyan, chanfrein, chanfreincoeff=.8] \end{pspicture*} \end{LTXexample} %\newpage