[pstricks] Fusing planes

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Aug 12 14:01:12 CEST 2019


Am 11.08.19 um 20:47 schrieb José Jesús Rosell Escolar:

> My question is the following: can you merge two planes using the 
> pst-solides3d fusion action?

Hidden surfaces are only possible for planes which are build
small polygons, which you get by setting ngrid=40 50, for example.

However, it looks like a bug in the code that the type fusion is
not possible for _two_ planes. I have to investigate, but that
will take some time ...

Herbert




> I have been trying but I don’t get any images. The code I use is:
> \begin{pspicture}[showgrid](-5,-5)(5,10)
> \psset{Decran=20}
> \psset{solidmemory}
> \psSolid[object=plan, definition=normalpoint, 
> args={004[111]},fillcolor=cyan,base=-44-33,name=P1,action=none]
> \psSolid[object=plan, definition=normalpoint, 
> args={004[2-1-145]},fillcolor=green,base=-44-33,name=P2,intersectiontype=0,intersectionplan={[111-4]},action=none]
> \axesIIID(2,2,4)(5,5,5)
> \psPoint(0,0,4){C}
> \psdot(C)
> \psSolid[object=fusion, base=P1P2, action=draw**](0,0,0)
> \composeSolid
> \end{pspicture}


More information about the PSTricks mailing list