[pstricks] hiddenLine in pst-3dplot

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Aug 4 18:03:34 CEST 2020



Am 04.08.20 um 12:08 schrieb Patrice MEGRET:
>
> I have some trouble with hiddenLine in pst-3dplot.
>
> From your example
>
> \begin{pspicture}(-2,-1.25)(3,4.25)
>
> \psset{Alpha=30,Beta=30}
>
> \pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4]
>
> \pstThreeDBox[hiddenLine=true](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
>

Patrice,
that example should be

\pstThreeDBox[hiddenLine=true](-1,1,2)(2,0,0)(0,1,0)(0,0,2)

and there was a bug. I uploaded a new version to CTAN

Herbert

> \pstThreeDDot[drawCoor=true](-1,1,2)
>
> \end{pspicture}
>
> when hiddenLine is true the backsides are not drawn.
>
> If I use my example below, with hiddenLine true I got (1) dashed lines 
> for the backsides, and (2) these lines are not correctly place.
>
> \begin{pspicture}[showgrid=false](-3,-4)(7,4.5)
>
> \psset{unit=1,Alpha=75,Beta=30,nameX=$1$,nameY=$2$,nameZ=$3$}
>
> \pstThreeDCoor[linecolor=red,xMax=7,yMax=6.5,zMax=4.5]
>
> \pstThreeDBox[hiddenLine=true](0,0,0)(4,-1,0)(0,6,0)(0,1,3)
>
> \end{pspicture}
>
> Best regards,
>
> Patrice
>
>
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.