texmf-dist/doc/generic/pst-kepler/images/octaedre.tex
raw| 1 | \errorcontextlines=150 |
| 2 | \DocumentMetadata{lang=en} |
| 3 | \documentclass[border=5mm,pstricks]{standalone} |
| 4 | \usepackage{pst-solides3d} |
| 5 | |
| 6 | \begin{document} |
| 7 | \psset{unit=1.5,viewpoint=50 -20 10 rtp2xyz, Decran=50} |
| 8 | \begin{pspicture}[showgrid=false](-2,-2)(1.5,2) |
| 9 | \codejps{ |
| 10 | /octa {% |
| 11 | 1.9 newoctaedre |
| 12 | dup 0.8 solidaffine |
| 13 | dup videsolid |
| 14 | dup (blue) outputcolors |
| 15 | dup (red) inputcolors |
| 16 | } def |
| 17 | octa drawsolid** |
| 18 | } |
| 19 | \end{pspicture} |
| 20 | |
| 21 | \end{document} |
| 22 |