[pstricks] Two questions regarding pst-solides3d...

Werner Grundlingh wgrundlingh at gmail.com
Tue Jul 12 23:38:47 CEST 2011


Thanks Herbert,

This works if the parametric 3D curve is in a specific plane
ax+by+cz+d=0 via the specification of
 ...
 intersectionplan={[a b c d]}
 ...

Is there a way of generalizing this for parametric 3D curves that do
not lie in a plane (or intersect an object)? For example, this curve
from the pst-solides3d documention:

\defFunction[algebraic]%
 {helice}(t)
 {3*cos(4*t)}{3*sin(4*t)}{t}
\psSolid[object=courbe,r=0,
 range=0 6,%
 linecolor=blue,%
 linewidth=0.1,%
 resolution=360,%
 function=helice]%

Werner

2011/7/12 Herbert Voss <Herbert.Voss at fu-berlin.de>:
> Am 08.07.2011 20:39, schrieb Werner Grundlingh:
>
>> QUESTION 1: Is it possible to change the default shadow colour from black
>> to
>> something else?
>>
>> QUESTION 2: Is it possible to create a dashed line style for a parametric
>> curve in 3D?
>
>
> \documentclass{article}
> \usepackage{pst-solides3d}
> \pagestyle{empty}
> \begin{document}
> \begin{pspicture}(-4,-4)(10,10)
>  \psset{viewpoint=50 45 20 rtp2xyz,Decran=25,lightsrc=50 45
> 20,lightintensity=1}%
>  \psSolid[r=3.5,object=sphere,
>    ngrid=30 30,linewidth=5pt,
>    grid,
>    fillcolor=blue!50,
>    intersectionplan={ [0 0 1 -2] },
>    intersectioncolor=(rouge),
>    intersectionlinewidth=3,
>    intersectiontype=0,
>    action=draw**]
> \end{pspicture}
> \end{document}
>
> Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helice.JPG
Type: image/jpeg
Size: 32107 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20110712/04bfa6f8/attachment-0001.jpe>


More information about the PSTricks mailing list