<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thank you also for this mail! I will try to work in this way also with a mac.<div><br></div><div>Best regards</div><div><br></div><div>C. <br><br>--- <b>Dom 10/7/11, Manuel Luque <i><mluque5130@aol.com></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: Manuel Luque <mluque5130@aol.com><br>Oggetto: [pstricks] Re : R: Re : R: Re : PSTricks code -- pst-solides3d<br>A: pstricks@tug.org<br>Data: Domenica 10 luglio 2011, 18:21<br><br><div id="yiv779494882"><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="yiv779494882AOLMsgPart_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 rel="nofollow" target="_blank" href="http://www.tug.org/pipermail/pstricks/"></a>
</tt>
 



</div>

</font></font></div><br>-----Segue allegato-----<br><br><div class="plainMail">_______________________________________________<br>PSTricks mailing list<br><a ymailto="mailto:PSTricks@tug.org" href="/mc/compose?to=PSTricks@tug.org">PSTricks@tug.org</a><br><a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a></div></blockquote></div></td></tr></table>