<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm repeating in modified form a posting from yesterday, since I've had no response so far and am getting desperate for a solution.<div><br></div><div>I want to draw a surface cut by a vertical plane, taking advantage of the lightsource and line-hiding features of \pst3d-solides.</div><div><br></div><div>Herbert sent me code earlier yesterday which worked beautifully to draw two intersecting objects of type \psSolid[object=surface.</div><div>I want to replace one of these with an object \psSolid[object=plan, (defined by a normal vector, etc.)</div><div><br></div><div>When I take Herbert's code and modify it as follows: &nbsp;replace second surface with plane, comment out \psSolid[object=fusion,</div><div>and change all action=none to action=draw**, I get a reasonable picture:</div><div>(I have also added a \psset{solidmemory} at the start and a \composeSolid at the end, although his program as written</div><div>worked fine without them.)</div><div><br></div><div>##############################################################</div><div><br></div><div>% !TEX TS-program = latex<br>\listfiles<br>%\documentclass[11pt]{article}<br>%\usepackage{pst-solides3d, pst-3dplot, pst-math,pstricks-add}<br>%\usepackage{pst-3d}<br>%\usepackage{graphicsmacros}<br>\listfiles<br>\documentclass[11pt]{article}<br>\usepackage{pst-solides3d}<br>\begin{document}<br>\begin{pspicture}(-0.5,-2)(3,3)<br>\psset{solidmemory}<br><br>\psset{lightsrc=50 20 50, viewpoint=15 60 20 rtp2xyz,Decran=50}<br><br></div><div>% first surface<br>\defFunction[algebraic]{Func}(x,y){}{}{ (x^2-3*y^2)/2 }{}{}<br>\psSolid[<br>&nbsp;object=surface,<br>&nbsp;incolor=green,<br>&nbsp;function=Func,<br>&nbsp;base=-1 1.5 -1 1.5,<br>&nbsp;ngrid=0.1 0.1,<br>&nbsp;grid,<br>&nbsp;action=draw**,<br>&nbsp;name=graphsurfA</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>]<br>%</div><div>% second surface<br>\psSolid[object=plan,<br><span class="Apple-tab-span" style="white-space:pre">        </span>definition=normalpoint,<br><span class="Apple-tab-span" style="white-space:pre">        </span>args={1.0 0.5 0.125 [1 0 0]},<br><span class="Apple-tab-span" style="white-space:pre">        </span>fillcolor=lightgray!20,<br><span class="Apple-tab-span" style="white-space:pre">        </span>opacity=0.05,<br><span class="Apple-tab-span" style="white-space:pre">        </span>base=-0.5 1.5 -0.5 1.5,<br><span class="Apple-tab-span" style="white-space:pre">        </span>action=draw**,<br><span class="Apple-tab-span" style="white-space:pre">        </span>name=graphsurfB<br><span class="Apple-tab-span" style="white-space:pre">                </span>]<br>%<br>% combine both surfaces<br>%\psSolid[<br>% object=fusion,<br>% action=draw**,<br>% base=graphsurfA graphsurfB<br>%&nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>]<br>%<br>%\composeSolid<br>\end{pspicture}<br><br>\end{document}</div><div><br></div><div>######################################################################</div><div></div></body></html>