%% $Id: pst-hyperboloid-doc-exa2.tex 1273 2026-06-02 10:47:27Z herbert $

\begin{externalDocument}[
  compiler=lualatex, runs=1, crop,
  %xindex, xindexOptions={-l DE --config AU},
  %mpwidth=0.6\linewidth, 
  usefancyvrb=false,
  docType=latex,
]{voss}
\DocumentMetadata{}
\documentclass{article}
\pagestyle{empty}
\usepackage{libertinus}
%StartVisiblePreamble
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-hyperboloid}
%StopVisiblePreamble
\begin{document}
\begin{pspicture}(-8,-7)(6,5)
\psset{viewpoint=25 25 20 rtp2xyz,lightsrc=,Decran=25}
\gridIIID[Zmin=-4,Zmax=4,showAxes=false](-4,4)(-4,4)
\psHyperboloid[
  hollow,linewidth=0.25\pslinewidth,grid,% inouthue=1 0 0.5 1,
  fcol= 0 2 862{/Rang exch def
    Rang (Blue) Rang 1 add (Yellow)
  } for
  864 2 1726{/Rang exch def
    Rang (Cyan) Rang 1 add (Yellow)
  } for, ngrid=18 12
]
\psLineIIID(4,-4,4)(4,4,4)(-4,4,4)
\psLineIIID(4,4,-4)(4,4,4)
\end{pspicture}
\end{document}
\end{externalDocument}
