<font color='black' size='2' face='Arial, Helvetica, sans-serif'><font color="black" face="Arial, Helvetica, sans-serif" size="2">

<div> Leon Free wrote :<tt><br>
</tt><br>
>could you explain what this part of the code is actually doing and why it should be commented after the first latex+dvips(+ps2pdf) run :<br>
<br>

</div>


</font><span id="result_box" class="long_text" lang="en"><span title="Cliquer ici pour voir d'autres traductions" class="hps">The calculation of the</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">vertices and faces</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">of the surface is</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">slow.</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">Once the</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">files are written</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">this part</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">is no longer</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">useful.</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">We can then</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">proceed to</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">the development</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">and use of the</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">dat</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">files</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">is very fast</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">..<font size="2"><font face="Arial, Helvetica, sans-serif"><br>
<br>
Best regards<br>
</font><font face="Arial, Helvetica, sans-serif"><br>
ML<br>
</font></font></span></span><font color="black" face="Arial, Helvetica, sans-serif" size="2">


<div> <br>

</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----E-mail d'origine-----<br>

De : Leon Free <leon.free@free.fr><br>

A: Graphics with PSTricks <pstricks@tug.org><br>

Cc: Manuel Luque <mluque5130@aol.com><br>

Envoyé le : Mercredi, 13 Juillet 2011 0:08<br>

Sujet : Re: [pstricks] Re :  pst-solides3d and parametric surfaces<br>

<br>









<div id="AOLMsgPart_0_9f70e45f-877e-4115-99e3-bc8548ef568b" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>great ! works fine.
your first draft helps a lot.
many thanks for your efforts.

could you explain what this part of the code is actually doing and why
it should be commented after the first latex+dvips(+ps2pdf) run :

%\psset{solidmemory}
%\psSolid[object=datfile,
%   file=Surface,
%   plansepare={[0.707 0.707 0 -2.5]},
%   name=surface,
%   action=none]
%\psSolid[object=load,
%  load=surface1,
%   file=surface1,action=writesolid]
%\psSolid[object=load,
%   load=surface0,
%   file=surface0,action=writesolid]



Le 12/07/2011 18:42, Manuel Luque a écrit :
> Leon Free Wrote :


>>i want to obtain the same result when the vertical plane P need not be
>>parallel to one of the axis, ie P={(x,y,z) : ax+by+c=0} with a,b both
>>nonzero (and (obivously) has a non empty intersection with the surface)


> A first draft. Uncomment the following lines to write the files. dat

> \documentclass{article}
> \usepackage[dvipsnames,svgnames]{xcolor}
> \usepackage{pst-solides3d}
> \begin{document}
> \begin{center}
> %\codejps{
> %/biface false def
> %-.5 3 0.85 3.5 [0.2 0.2]
> %{/y exch def
> % /x exch def
> % -0.35 x dup mul mul
> %  y 2 sub y 1.5 sub mul sub
> %  0.2 x mul y mul add
> %  4.5 add }
> %  true
> %  newsurfaceparametree
> %(Surface) writesolidfile
> % }
>  \begin{pspicture}(-4,-4)(7,10)
>  \psset{lightsrc=viewpoint,viewpoint=100 35 30 rtp2xyz,Decran=150}
> %\psset{solidmemory}
> %\psSolid[object=datfile,
> %   file=Surface,
> %   plansepare={[0.707 0.707 0 -2.5]},
> %   name=surface,
> %   action=none]
> %\psSolid[object=load,
> %  load=surface1,
> %   file=surface1,action=writesolid]
> %\psSolid[object=load,
> %   load=surface0,
> %   file=surface0,action=writesolid]
> \axesIIID(0,0,0)(5,5,7)
> \psSolid[object=datfile,
>          hollow,
>          rm=0,
>          file=surface1]
> \psSolid[object=plan,
>           definition=equation, args={[0.707 0.707 0 -2.5] },opacity=.5,
>           plangrid,
>           fillcolor=ForestGreen!20, linecolor=gray!50,base=-6 0 -6 0]
> \psSolid[object=datfile,
>          hollow,
>          rm=0,
>          intersectiontype=0,
>          intersectionplan={ [0.707 0.707 0 -2.51]
> },intersectioncolor=(rouge),
>          intersectionlinewidth=2,
>          file=surface0](0,0,0)
>       \end{pspicture}
> \end{center}
> \end{document}


> ML




> _______________________________________________
> PSTricks mailing list
> <a __removedlink__1790618173__href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
> <a __removedlink__1790618173__href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a>
> archive: <a __removedlink__1790618173__href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a>


</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_9f70e45f-877e-4115-99e3-bc8548ef568b -->



</div>

</font></font>