%% $Id: pst-hyperboloid-doc-exa17.tex 1275 2026-06-03 13:31:25Z 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)(5,6)
\psframe(-8,-7)(5,6)
\psset{solidmemory,viewpoint=50 60 20 rtp2xyz,lightsrc=viewpoint,Decran=40}
\pstVerb{/X0 0.5 def}%
\psSolid[object=grille,base=-4 6 -4 4,ngrid=10 8,linewidth=0.5\pslinewidth,linecolor=red](0,0,-4)%
\psHyperboloid[hollow,R=4,incolor=yellow!50,fillcolor=ForestGreen!20,
  plansepare={[1 0 0 DemiAxeFocal neg]},name=coupeHyperboloidTest,action=none]
\psSolid[object=load,incolor=yellow!50,fillcolor=ForestGreen!20,linewidth=0.5\pslinewidth,
  rm=0,intersectionplan={[1 0 0 DemiAxeFocal neg]},intersectioncolor=(rouge),
  intersectionlinewidth=1,intersectiontype=0,load=coupeHyperboloidTest1]
\psSolid[object=load,incolor=yellow!50,fillcolor=ForestGreen!20,linewidth=0.5\pslinewidth,% rm=0 1 253,
   RotZ=-20,load=coupeHyperboloidTest0](2,0,0)
\psSolid[object=plan,definition=equation,
   args={[1 0 0 DemiAxeFocal neg] 90},linecolor=blue,%   fillcolor=Aquamarine,
   planmarks,base=-4 4 -4 4,showBase,action=draw]
\gridIIID[Zmin=-4,Zmax=4](-4,6)(-4,4)
\end{pspicture}
\end{document}
\end{externalDocument}
