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

<div> <font><font color="black" size="2" face="Arial, Helvetica, sans-serif">Carlo wrote :</font></font><br>
<font color="black" size="2" face="Arial, Helvetica, sans-serif"><br>
>Only a last question: wich program do you use to generate .dat file like ones in attachment for surfaces? I use mac os x 10.5.</font><br>
<br>
I use pst-solides3d.<br>
LaTeX-> dvips-> ghostscript (GSview)<br>
<br>
In Chapter 5, pst-solides3d:The Documentation : "Usage of external files", explains the method for Linux and Windows. For Mac I do not know, but I think it's the same as for Windows. (MacGSView)<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
Note: By default, under Windows and Linux, the security of files on the hard drive is activated<br>
and doesn’t allow to write on the drive. To deactivate that security option, more or less temporarily,<br>
here the two corresponding procedures:<br>
Linux: The advice from Jean-Michel Sarlat: the simplest will be to use GhostScript directly, within<br>
the console. As there is no image to wait for:<br>
$> gs -dNOSAFER monfichier.ps quit.ps<br>
Windows: Within the menue Options, the option Security of files must be turned to unchecked.<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
A Mac user can confirm?<br>
The files are generated by the interpreter GhostScript.<br>
<br>
As a first step, the file must uncomment all the lines.<br>
<br>
%\codejps{ % bicone de rayon 3 et de 1/2 hauteur 5<br>
%-5 3 0 [24 60] newcone<br>
% 5 3 0 [24 60] newcone<br>
% dup solidfacesreverse<br>
% solidfuz<br>
%(bicone) writesolidfile<br>
% }<br>
<br>
\codejps{ % bicone de rayon 3 et de 1/2 hauteur 5<br>
-5 3 0 [24 60] newcone<br>
 5 3 0 [24 60] newcone<br>
 dup solidfacesreverse<br>
 solidfuz<br>
(bicone) writesolidfile<br>
 }<br>
<br>
idem for:<br>
<br>
%\psset{solidmemory}<br>
%\psSolid[object=datfile,<br>
%   file=bicone,<br>
%   plansepare={[0 0.5 1 -3]},<br>
%   name=biconepartellipse,<br>
%  action=none]<br>
%\psSolid[object=load,<br>
%   load=biconepartellipse1,<br>
%   file=biconepartellipse1,action=writesolid]<br>
%\psSolid[object=load,<br>
%   load=biconepartellipse0,<br>
%   file=biconepartellipse0,action=writesolid]<br>
%<br>
<br>
\psset{solidmemory}<br>
\psSolid[object=datfile,<br>
   file=bicone,<br>
   plansepare={[0 0.5 1 -3]},<br>
   name=biconepartellipse,<br>
  action=none]<br>
\psSolid[object=load,<br>
   load=biconepartellipse1,<br>
   file=biconepartellipse1,action=writesolid]<br>
\psSolid[object=load,<br>
   load=biconepartellipse0,<br>
   file=biconepartellipse0,action=writesolid]<br>
<br>
LaTeX->dvips->GhostScript:(GSview)<br>
<br>
.dat files are then written.<br>
<br>
Then you can adjust the view, light, colors etc. comment these lines again: the compilation will be very fast.<br>
<br>
Best regards,<br>
<br>
ML<br>

</div>



<div> <br>

</div>



<div style="clear:both"></div>



<div> <br>

</div>



<div> <br>

</div>



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

<div id="AOLMsgPart_3_70f1e0c2-584c-4261-941f-dcc478df88fb" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
</div>
<tt><a href="http://www.tug.org/pipermail/pstricks/" target="_blank"></a>
</tt>
 <!-- end of AOLMsgPart_3_70f1e0c2-584c-4261-941f-dcc478df88fb -->



</div>

</font></font>