%% $Id: pst-ellipsoid-doc-exa09.tex 1284 2026-06-08 05:56:52Z herbert $
\begin{externalDocument}[
  compiler=lualatex, runs=1, crop, cleanup,
  %xindex, xindexOptions={-l DE --config AU},
  %mpwidth=0.6\linewidth, 
%  force,
  usefancyvrb=false,
  docType=latex,
]{voss}
\DocumentMetadata{}
\documentclass{article}
\pagestyle{empty}
\usepackage{libertinus}
%StartVisiblePreamble
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-ellipsoid}
%StopVisiblePreamble
\begin{document}
\definecolor{coquille}{rgb}{0.984 0.95 0.718}
\begin{pspicture}(-3,-3)(3,5)
\setEllipsoidVars
\psset{viewpoint=50 70 20 rtp2xyz,Decran=70,lightsrc=viewpoint,solidmemory}
\psSolid[object=plan,definition=normalpoint,args={xP 0 zP [nX]},action=none,name=P1]
\psSolid[object=ellipsoid,a=a1,b=b1,c=c1,ngrid=54 24,base=0 360 -90 90,fillcolor=coquille,linewidth=0.01]
\psset{plan=P1}
\psSolid[object=plan,definition=normalpoint,action=draw**,opacity=0.3,fillcolor=cyan!20,
 args={xP 0 zP [nX]},showBase,base=-3 3 -3 3]
\psPoint(xO1,0,zO1){O1}
\psdot[linecolor=red](O1)
\end{pspicture}
\end{document}
\end{externalDocument}