I knew I would find a solution eventually
The family of options intersection~ are an impressive tool for tracing level curves on solids and surfaces.
intersectiontype, set to 0 to activate
intersectionplan, add flat surfaces of the following type ax+by+cz+d=0. Leave the definitions as follows [a b c d]
As an example I will use a surface on which I'm working on and leave the level curves on it for your amusement
\begin{pspicture}(-3,-3)(3,3)
\psset{viewpoint=50 300 30 rtp2xyz,Decran=50,lightsrc=viewpoint}
\psSurface[
ngrid=0.2 0.2,incolor=darkgray,linewidth=0.5\pslinewidth,
intersectiontype=0,
intersectionplan={ %lets make some planes from 0-1 with 0.25 step
[0 0 1 -0.00]
[0 0 1 -0.25]
[0 0 1 -0.50]
[0 0 1 -0.75]
[0 0 1 -0.95]}, %close enough to 1
intersectionlinewidth=1.5 1.5 1.5 1.5 1.5,
intersectioncolor=(black)(black)(black)(black)(black)
](-3,-3)(3,3){
/denom x 4 exp y 2 exp add def
/numer x x mul y mul 2 mul def
denom 0 eq {0} {numer denom div} ifelse %gotta fix that div/0
}
\end{pspicture}
I think this will amuse anyone looking for a way to draw level curves. The planes I used on this example are all horizontal (z=k) but tweak it to whatever you need.
Any comments are welcome
pst-solides3dis a sophisticated package but with very "confusing" key-value naming convention such asgrille,vecteur, and many more (I cannot remember them). We are forced to learn a new language. :-) – kiss my armpit Aug 25 '14 at 19:36