<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">With this example and the previous one, I have solved my problems! I have now understood the right code.<div><br></div><div>Thank you so much</div><div><br></div><div>Best regards</div><div><br></div><div>C.<br><br>--- <b>Dom 3/7/11, Herbert Voss <i><Herbert.Voss@fu-berlin.de></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: Herbert Voss <Herbert.Voss@fu-berlin.de><br>Oggetto: Re: [pstricks] R:  Re :  Fwd: PSTricks code -- pst-solides3d<br>A: "Graphics with PSTricks" <pstricks@tug.org><br>Data: Domenica 3 luglio 2011, 14:02<br><br><div class="plainMail">Am 02.07.2011 21:45, schrieb Carlo Alberini:<br>> Yes, that would be perfect, but I don't know the right PSTricks code for generate the "solidcreux (cone)" that you can find in page 3 in <a
 href="http://melusine.eu.org/syracuse/mluque/solides3d2007/sections/sections-cone/sections-bicone.pdf" target="_blank">http://melusine.eu.org/syracuse/mluque/solides3d2007/sections/sections-cone/sections-bicone.pdf</a>.<br>> Moreover, if it possible, without generating .dat files (I am not able to generate them, and I don't know how programs could generate them - I use Mac OsX 10.5.8) and without \codejpg. In fact I need the right PSTricks code (\defFuntion, and so on) to generate all the cone sections I need only modifying the involved functions, like the code you have received in attachment.<br>> For example I am not able to use the object=load with solids that I create, but only with the predefinite solides; I would like to use this object=load with my own solides.<br>> On the other hands, if I have the right code to generate the conic sections that you can find in <a
 href="http://melusine.eu.org/syracuse/mluque/solides3d2007/sections/sections-cone/sections-bicone.pdf" target="_blank">http://melusine.eu.org/syracuse/mluque/solides3d2007/sections/sections-cone/sections-bicone.pdf</a> in the style of the draw you can find in this page 3, that would be perfect.<br><br>here is an example for a cone:<br><br>\documentclass{article}<br>\usepackage{pst-solides3d}<br><br>\begin{document}<br><br>\begin{pspicture}(-5,-6)(8,7)<br>\psset{viewpoint=50 -40 10 rtp2xyz,Decran=50}<br>\defFunction{cone}(u,v){u v Cos mul}{u v Sin mul}{u}<br>\psSolid[object=cone,h=4,r=3,<br>   plansepare={[1 0 0 -1]},<br>   name=ConeA,<br>   ngrid=9 30,<br>   action=none](0,0,-4)<br>\psSolid[object=cone,h=4,r=3,<br>   plansepare={[1 0 0 -1]},<br>   name=ConeB,<br>   RotY=180,<br>   ngrid=9
 30,<br>   action=none](0,0,4)<br>\psSolid[object=load,load=ConeA1,hue=0.8 0.1]<br>\psSolid[object=load,load=ConeB1,hue=0.8 0.1,inhue=1 0]<br>\psSolid[object=load,load=ConeA0,RotZ=90,hue=0.8 0.1](0,6,-1.3)<br>\psSolid[object=load,load=ConeB0,RotZ=90,hue=0.8 0.1](0,6,-0.5)<br>\end{pspicture}<br>\end{document}<br><br>Herbert<br></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>