texlive[43703] Master/texmf-dist: pst-3dplot (6Apr)

commits+preining at tug.org commits+preining at tug.org
Thu Apr 6 02:28:00 CEST 2017


Revision: 43703
          http://tug.org/svn/texlive?view=revision&revision=43703
Author:   preining
Date:     2017-04-06 02:28:00 +0200 (Thu, 06 Apr 2017)
Log Message:
-----------
pst-3dplot (6Apr)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-3dplot/Changes
    trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib
    trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.dat
    trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex
    trunk/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro
    trunk/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex
    trunk/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty

Modified: trunk/Master/texmf-dist/doc/generic/pst-3dplot/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-3dplot/Changes	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/doc/generic/pst-3dplot/Changes	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,5 +1,6 @@
 pst-3dplot.pro --------
-0.32  2014-02-01 - modifications to coorTape=6
+0.33  2017-04-05 - added coorType=7
+0.32  2014-02-01 - modifications to coorType=6
 0.31  2014-01-29 - add coorType=6, like 5 with a z axis vice versa
 0.30  2010-01-01 - add the subroutine /tx at ProjThreeD from pst-3d
                    to get rid of the dependency
@@ -19,6 +20,9 @@
 
 
 pst-3dplot.tex --------
+2.04  2017-04-05  - added coorType=7
+2.03  2014-12-01  - modifications to coorType=6
+2.02  2014-09-01  - use the alternative for hidden lines of \psThreeDBox
 2.01  2014-08-25  - bugfix for \lineIIID at i which is defines by
                     pst-solides3d, too.
 2.00  2014-03-26  - enable opacity setting for sphere and cylinder

Modified: trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.bib	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,52 +1,114 @@
+%% -*-bibtex-*-
+ at STRING{tugboat	= {TUGboat} }
 @STRING{dtk	= {{D}ie {\TeX}nische {K}om{\"o}die} }
 
+ at Book{companion,
+  author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss},
+  title		= {The {\LaTeX} {G}raphics {C}ompanion},
+  publisher	= {{Addison-Wesley Publishing Company}},
+  edition	= {second},
+  year		= {2007},
+  address	= {Boston, Mass.}
+}
+
+ at Article{girou:01:,
+  author	= {Denis Girou},
+  title		= {Pr\'esentation de {PST}ricks},
+  journal	= {Cahier {GUT}enberg},
+  year		= 1994,
+  volume	= {16},
+  month		= apr,
+  pages		= {21-70}
+}
+
+ at Article{girou:02:,
+  author	= {{Timothy Van} Zandt and Denis Girou},
+  title		= {Inside {PST}ricks},
+  journal	= TUGboat,
+  year		= 1994,
+  volume	= {15},
+  month		= sep,
+  pages		= {239-246}
+}
+
 @Book{PostScript,
   Author         = {Kollock, Nikolai G.},
-  Title          = {PostScript richtig eingesetzt: vom Konzept zum
-                   praktischen Einsatz},
+  Title          = {Post{S}cript richtig eingesetzt: vom {K}onzept zum
+                   praktischen {E}insatz},
   Publisher      = {IWT},
   Address        = {Vaterstetten},
   year           = 1989,
 }
 
- at Manual{pstricks,
-  Title          = {PSTricks - {\PS} macros for Generic TeX},
+ at ctan{multido,
+  Title          = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition},
   Author         = {Timothy Van Zandt},
-  Organization   = {},
-  Address        = {\url{http://www.tug.org/application/PSTricks}},
+  url        = {/macros/generic/multido.tex},
   Note           = {},
-  year           = 1993,
+  year           = 1997
 }
 
+ at Book{PSTricks2,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
+  edition	= {7},
+  publisher	= {DANTE -- Lehmanns},
+  year		= {2016},
+  location	= {Heidelberg and Berlin}
+}
 
- at Manual{pdftricks,
+ at Book{PSTricksE,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}raphics and {P}ost{S}cript for \LaTeX},
+  edition	= {1},
+  publisher	= {UIT},
+  year		= {2011},
+  address	= {Cambridge -- UK}
+}
+
+ at Book{LTXquick,
+  author	= {Herbert Vo\ss{}},
+  title		= {{\LaTeX} quick reference},
+  edition	= {1},
+  publisher	= {UIT},
+  year		= {2012},
+  address	= {Cambridge -- UK}
+}
+
+ at Book{presentations,
+  author	= {Herbert Vo\ss},
+  title		= {Presentations with \LaTeX},
+  edition	= {2},
+  publisher	= {DANTE -- Lehmanns Media},
+  year		= {2017},
+  location	= {Heidelberg and Berlin}
+}
+
+
+ at Book{tbt,
+  author	= {Victor Eijkhout},
+  title		= {\TeX\ by Topic -- {A} \TeX{}nician Reference},
+  edition	= {1},
+  publisher	= {DANTE -- lehmanns media},
+  year		= {2014},
+  location	= {Heidelberg and Berlin}
+}
+
+ at online{pdftricks,
   Title          = {PSTricks Support for pdf},
   Author         = {Herbert Voss},
-  Organization   = {},
-  Address        = {\url{http://PSTricks.de/pdf/pdfoutput.phtml}},
-  Note           = {},
+  url        = {http://PSTricks.de/pdf/pdfoutput.phtml},
   year           = 2002,
 }
 
- at Manual{miwi,
+ at online{miwi,
   Title          = {References for \TeX{} and Friends},
   Author         = {Michael Wiedmann and Peter Karp},
-  Organization   = {},
-  Address        = {\url{http://www.miwie.org/tex-refs/}},
-  Note           = {},
+  url        = {http://www.miwie.org/tex-refs/},
   year           = 2003,
 }
 
 
- at Manual{vue3d:2002,
-  Title          = {Vue en 3D},
-  Author         = {Manuel Luque},
-  Organization   = {},
-  Address        = {\url{http://members.aol.com/Mluque5130/vue3d16112002.zip}},
-  Note           = {},
-  year           = 2002,
-}
-
 @Article{dtk02.2:jackson.voss:plot-funktionen,
   author	= {Laura E. Jackson and Herbert Vo{\ss}},
   title		= {Die {P}lot-{F}unktionen von {\texttt{pst-plot}}},
@@ -58,7 +120,6 @@
   month		= jun,
   pages		= {27--34},
   annote	= bretter,
-  keywords	= {},
   abstract	= { Im letzten Heft wurden die mathematischen Funktionen von
 		  \PS~im Zusammenhang mit dem {\LaTeX}-Paket
 		  \texttt{pst-plot} zum Zeichnen von Funktionen beschrieben
@@ -78,7 +139,6 @@
   month		= mar,
   pages		= {40-47},
   annote	= bretter,
-  keywords	= {},
   abstract	= { \PS, faktisch genauso alt wie {\TeX}, ist im
 		  Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es
 		  darum geht zu beurteilen, was es denn nun im eigentlichen
@@ -90,39 +150,3 @@
 		  gezeigt. }
 }
 
- at Book{companion,
-  author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}},
-  title		= {The {\LaTeX} {G}raphics {C}ompanion},
-  publisher	= {{Addison-Wesley Publishing Company}},
-  edition	= second,
-  year		= {2007},
-  address	= {Reading, Mass.}
-}
-
- at Book{PSTricks2,
-  author	= {Herbert Vo\ss{}},
-  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
-  edition	= {6.},
-  publisher	= {DANTE -- Lehmanns},
-  year		= {2010},
-  address	= {Heidelberg/Hamburg}
-}
-
- at Book{PSTricksE,
-  author	= {Herbert Vo\ss{}},
-  title		= {\texttt{PSTricks} -- {G}raphics and {P}ost{S}cript for \LaTeX},
-  edition	= {1.},
-  publisher	= {UIT},
-  year		= {2011},
-  address	= {Cambridge -- UK}
-}
-
- at Book{LTXquick,
-  author	= {Herbert Vo\ss{}},
-  title		= {{\LaTeX} quick reference},
-  edition	= {1.},
-  publisher	= {UIT},
-  year		= {2012},
-  address	= {Cambridge -- UK}
-}
-

Modified: trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.dat
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.dat	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.dat	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,4 +1,4 @@
-%% $Id: pst-3dplot-doc.dat 236 2009-12-31 08:59:43Z herbert $
+%% $Id: pst-3dplot-doc.dat 402 2017-04-05 06:58:06Z herbert $
 \begin{filecontents}{data3D.Roessler}
 2.0, 0.0, 0.0
 1.9737089990827656, 0.31348417289942826, 0.024766924774833776

Modified: trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,11 +1,15 @@
 \input{pst-3dplot-doc.dat}
 
-%% $Id: pst-3dplot-doc.tex 882 2014-02-01 13:12:37Z herbert $
+%% $Id: pst-3dplot-doc.tex 401 2017-04-05 06:57:36Z herbert $
 \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
     headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
 \listfiles
 
 \usepackage[utf8]{inputenc}
+
+\usepackage{biblatex}
+\addbibresource{\jobname.bib}
+
 \usepackage{pst-grad,pst-3dplot}
 \let\pstFV\fileversion
 \let\belowcaptionskip\abovecaptionskip
@@ -15,6 +19,7 @@
 %\usepackage{tabularx}
 %\usepackage{longtable}
 %
+
 \makeatletter
 \renewcommand*\l at subsection{\bprot at dottedtocline{2}{1.5em}{3.6em}}
 \renewcommand*\l at subsubsection{\bprot at dottedtocline{3}{3.8em}{4.5em}}
@@ -511,7 +516,7 @@
 \label{exa:coorType}\xLkeyword{coorType}
 \begin{LTXexample}[width=9.75cm]
 \psset{coorType=1,Alpha=135}
-\begin{pspicture}(-2,-3)(3,3)
+\begin{pspicture}(-2,-3)(3,3.5)
 \pstThreeDCoor[IIIDticks,zMax=3]%
 \end{pspicture}
 \end{LTXexample}
@@ -528,7 +533,7 @@
 \begin{LTXexample}[width=9.75cm]
 \psset{coorType=2,Alpha=90,
     IIIDxTicksPlane=yz}
-\begin{pspicture}(-2,-2)(3,3)
+\begin{pspicture}(-2,-2)(3,3.5)
 \pstThreeDCoor[IIIDticks,zMax=3]%
 \end{pspicture}
 \end{LTXexample}
@@ -540,7 +545,7 @@
 \begin{LTXexample}[width=9.75cm]
 \psset{coorType=3,Alpha=90,
     IIIDxTicksPlane=yz}
-\begin{pspicture}(-2,-2)(3,3)
+\begin{pspicture}(-2,-2)(3,3.5)
 \pstThreeDCoor[IIIDticks,zMax=3]%
 \end{pspicture}
 \end{LTXexample}
@@ -550,12 +555,12 @@
 
 \begin{LTXexample}[width=9.75cm]
 \psset{coorType=4,IIIDxTicksPlane=yz}
-\begin{pspicture}(-2,-2)(3,3)
+\begin{pspicture}(-2,-2)(3,3.5)
 \pstThreeDCoor[IIIDticks,zMax=3]%
 \end{pspicture}
 \end{LTXexample}
 
-With \Lkeyword{coorType}=5 the y--z-axes are orthogonal and the angle between x- and y-axis
+With \Lkeyword{coorType}=5 the $y$-$z$-axes are orthogonal and the angle between x- and y-axis
 is variable but should be 30 or 45 degrees and the x-axis is shortened by a factor of $0.5$. 
 The angle \Lkeyword{Beta} is not valid.
 
@@ -563,11 +568,14 @@
 \begin{LTXexample}[width=9.75cm]
 \psset{coorType=5,Alpha=30,
     IIIDxTicksPlane=yz}
-\begin{pspicture}(-2,-2)(3,3)
+\begin{pspicture}(-2,-2)(3,4)
 \pstThreeDCoor[IIIDticks,zMax=3]%
 \end{pspicture}
 \end{LTXexample}
 
+
+For \Lkeyword{coorType}=6 the $x$-axis us shortend by 0.559.
+
 %\setIIIDplotDefaults
 \psset{unit=1cm}
 \xLkeyword{coorType}
@@ -585,7 +593,24 @@
 \end{pspicture}
 \end{LTXexample}
 
+For \Lkeyword{coorType}=7 the $x$-axis us shortend by 0.5.
 
+%\setIIIDplotDefaults
+\psset{unit=1cm}
+\xLkeyword{coorType}
+\begin{LTXexample}[width=9cm]
+\psset{coorType=7}
+\begin{pspicture}(-3,-2)(6,6)
+\psset{IIIDxTicksPlane=xz,IIIDyTicksPlane=yz}
+\pstThreeDCoor[xMin=0,xMax=5,yMin=0,yMax=5, 
+  zMin=0,zMax=5,IIIDticks,spotX=180,  
+  IIIDlabels=false,linecolor=red]%
+\multido{\iA=1+1}{4}{\footnotesize%
+  \pstThreeDPut(\iA,-0.3,0.1){\iA}%
+  \pstThreeDPut(-0.3,\iA,0.1){\iA}%
+  \pstThreeDPut(0,-0.3,\iA){\iA}}
+\end{pspicture}
+\end{LTXexample}
 
 \clearpage
 \section{Rotation}
@@ -2457,9 +2482,8 @@
 
 \bgroup
 \nocite{*}
-\raggedright
-\bibliographystyle{plain}
-\bibliography{pst-3dplot-doc}
+\RaggedRight
+\printbibliography
 \egroup
 
 \printindex

Modified: trunk/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/dvips/pst-3dplot/pst-3dplot.pro	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,4 +1,4 @@
-%% $Id: pst-3dplot.pro 882 2014-02-01 13:12:37Z herbert $
+%% $Id: pst-3dplot.pro 401 2017-04-05 06:57:36Z herbert $
 %%
 %% This is file `pst-3dplot.pro',
 %%
@@ -16,7 +16,7 @@
 %%   `pst-3dplot' is a PSTricks package to draw 3d curves and graphical objects
 %%
 %%
-%% version 0.32 / 2014-02-01  Herbert Voss <hvoss _at_ tug.org>
+%% version 0.33 / 2017-04-05  Herbert Voss <hvoss _at_ tug.org>
 %% with contributions of Darrell Lamm <darrell.lamm _at_ gtri.gatech.edu<
 %%            
 %
@@ -62,6 +62,10 @@
       /x2D y x -0.559 mul Alpha cos mul add def
       /y2D z x -0.559 mul Alpha sin mul add def 
       exit } if
+    coorType 7 le { % coorType |/_ with a 1/2 shortend x-axis and 135 degrees and z into the front
+      /x2D y x -0.5 mul Alpha cos mul add def
+      /y2D z x -0.5 mul Alpha sin mul add def 
+      exit } if
   } repeat
 } def
 /ConvertTo2D { true 3Dto2D } def

Modified: trunk/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,4 +1,4 @@
-%% $Id: pst-3dplot.tex 899 2014-03-26 08:40:56Z herbert $
+%% $Id: pst-3dplot.tex 401 2017-04-05 06:57:36Z herbert $
 %%
 %% This is file `pst-3dplot.tex',
 %%
@@ -27,8 +27,8 @@
 \ifx\PSTMultidoLoaded\endinput\else \input multido.tex\fi
 \ifx\PSTXKeyLoaded\endinput\else    \input pst-xkey \fi
 %
-\def\fileversion{2.01}
-\def\filedate{2014/08/25}
+\def\fileversion{2.04}
+\def\filedate{2017/04/05}
 \message{`PST-3dplot' v\fileversion, \filedate\space (HV,DL)}
 %
 \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -39,6 +39,7 @@
 \newdimen\pst at dimf
 %
 \define at boolkey[psset]{pst-3dplot}[Pst@]{Debug}[true]{}% 
+\define at boolkey[psset]{pst-3dplot}[Pst@]{alternative}[true]{}% for switches 
 \define at boolkey[psset]{pst-3dplot}[Pst@]{drawing}[true]{}% draw the coordinates?
 \define at boolkey[psset]{pst-3dplot}[Pst@]{drawCoor}[true]{}% draw the coordinates of a dot?
 \define at boolkey[psset]{pst-3dplot}[Pst@]{hiddenLine}[true]{}% emulate hidden line surface?
@@ -64,6 +65,8 @@
       \or %5
       \or %6
         \def\psk at ThreeDplot@Alpha{26.565}
+      \or %7
+        \def\psk at ThreeDplot@Alpha{26.565}
       \else
     \fi}
 % 0 default
@@ -219,7 +222,7 @@
 \def\setIIIDplotDefaults{%
   \psset[pstricks]{linejoin=1}%
   \psset[pst-3dplot]{
-  Debug=false,CoorCheck=true,
+  Debug=false,CoorCheck=true,alternative=false,
   drawing=true,hiddenLine=false,eulerRotation=false,
   xMin=-1,xMax=4,yMin=-1,yMax=4,zMin=-1,zMax=4,
   xThreeDunit=1,yThreeDunit=1.0,zThreeDunit=1.0,Alpha=45,Beta=30,
@@ -936,25 +939,17 @@
 %
 \def\pstThreeDBox{\pst at object{pstThreeDBox}}
 \def\pstThreeDBox at i(#1,#2,#3){%
-  \pst at killglue%
-  \begingroup%
-  \addbefore at par{linestyle=\psk at ThreeDplot@invisibleLineStyle}%
-  \use at keep@par%
-  \def\pst at tempX{#1 }%
-  \def\pst at tempY{#2 }%
-  \def\pst at tempZ{#3 }%
-  \pstThreeDBox at ii%
+  \pst at killglue
+  \begingroup
+  \addbefore at par{alternative=false,linestyle=\psk at ThreeDplot@visibleLineStyle}%
+  \use at keep@par
+  \gdef\pst at tempX{#1 }%
+  \gdef\pst at tempY{#2 }%
+  \gdef\pst at tempZ{#3 }%
+  \pstThreeDBox at ii
 }
 \def\pstThreeDBox at ii(#1,#2,#3)(#4,#5,#6)(#7,#8,#9){%%\def\pstThreeDBox at i[#1](#2)(#3)(#4)(#5)
-\iftrue
-  \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#4,#5,#6)(#7,#8,#9)% 	lower square
-  \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	back square
-  \addto at par{linestyle=dashed}%\psk at ThreeDplot@invisibleLineStyle}%
-%  \psset{linestyle=\psk at ThreeDplot@visibleLineStyle}%
-  \pstThreeDSquare(\pst at tempX #4 add,\pst at tempY #5 add,\pst at tempZ #6 add)(#1,#2,#3)(#7,#8,#9)% left square
-  \pstThreeDSquare(\pst at tempX #1 add,\pst at tempY #2 add,\pst at tempZ #3 add)(#4,#5,#6)(#7,#8,#9)% top square
-  \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% front square
-\else% better support for hidden lines
+\ifPst at alternative% better support for hidden lines
   \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#4,#5,#6)(#7,#8,#9) % 	lower square  
   \pst at absdim{\psk at ThreeDplot@Alpha pt}\pst at dimo
   \ifdim\pst at dimo<90pt 
@@ -962,9 +957,15 @@
       \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	back square
     \else
       \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% front square
-    \fi%
-  \fi%
-  \psset{linestyle=\psk at ThreeDplot@visibleLineStyle}%
+    \fi
+  \else
+    \ifdim\pst at dimo>270pt
+      \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% front square
+    \else
+      \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	back square
+    \fi
+  \fi
+  \ifPst at hiddenLine\psset{linestyle=\psk at ThreeDplot@invisibleLineStyle}\fi
   \pstThreeDSquare(\pst at tempX #4 add,\pst at tempY #5 add,\pst at tempZ #6 add)(#1,#2,#3)(#7,#8,#9)% left square
   \pstThreeDSquare(\pst at tempX #1 add,\pst at tempY #2 add,\pst at tempZ #3 add)(#4,#5,#6)(#7,#8,#9)% top square
   \ifdim\pst at dimo<90pt 
@@ -972,13 +973,65 @@
       \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% front square
     \else
       \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	back square
-    \fi%
+    \fi
+  \else
+    \ifdim\pst at dimo>270pt 
+      \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	back square
+    \else
+      \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% front square
+    \fi
   \fi%
-\fi%
- \endgroup%
- \ignorespaces%
+\else
+  \ifnum\psk at ThreeDplot@coorType=3
+    \ifPst at hiddenLine
+	\psset{linestyle=\psk at ThreeDplot@invisibleLineStyle}
+	\pstThreeDLine(\pst at tempX,\pst at tempY,\pst at tempZ)(\pst at tempX #1 add,\pst at tempY,\pst at tempZ)(\pst at tempX #1 add,\pst at tempY #5 add,\pst at tempZ)
+	\pstThreeDLine(\pst at tempX #1 add,\pst at tempY,\pst at tempZ)(\pst at tempX #1 add,\pst at tempY,\pst at tempZ #9 add)
+	\psset{linestyle=\psk at ThreeDplot@visibleLineStyle}
+    \else
+      \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	bottom square
+      \pstThreeDSquare(\pst at tempX #1 add,\pst at tempY #2 add,\pst at tempZ #3 add)(#4,#5,#6)(#7,#8,#9)% left square
+    \fi    
+    \pstThreeDSquare(\pst at tempX #4 add,\pst at tempY #5 add,\pst at tempZ #6 add)(#1,#2,#3)(#7,#8,#9)% right square
+    \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% top square
+    \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#4,#5,#6)(#7,#8,#9)% 	right square
+  \else
+    \ifnum\psk at ThreeDplot@coorType=5
+      \ifPst at hiddenLine
+	\psset{linestyle=\psk at ThreeDplot@invisibleLineStyle}
+	\pstThreeDLine(\pst at tempX,\pst at tempY,\pst at tempZ)(\pst at tempX,\pst at tempY,\pst at tempZ #9 add)(\pst at tempX #1 add,\pst at tempY,\pst at tempZ #9 add)
+	\pstThreeDLine(\pst at tempX,\pst at tempY,\pst at tempZ #9 add)(\pst at tempX,\pst at tempY #5 add,\pst at tempZ #9 add)
+	\psset{linestyle=\psk at ThreeDplot@visibleLineStyle}
+     \else
+       \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% top square
+     \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#4,#5,#6)(#7,#8,#9)% 	right square
+     \fi    
+       \pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	bottom square
+     \pstThreeDSquare(\pst at tempX #4 add,\pst at tempY #5 add,\pst at tempZ #6 add)(#1,#2,#3)(#7,#8,#9)% top square
+       \pstThreeDSquare(\pst at tempX #1 add,\pst at tempY #2 add,\pst at tempZ #3 add)(#4,#5,#6)(#7,#8,#9)% left square
+   \else
+    \pstThreeDSquare(\pst at tempX #1 add,\pst at tempY #2 add,\pst at tempZ #3 add)(#4,#5,#6)(#7,#8,#9)% left square
+    \pstThreeDSquare(\pst at tempX #4 add,\pst at tempY #5 add,\pst at tempZ #6 add)(#1,#2,#3)(#7,#8,#9)% front square
+    \pstThreeDSquare(\pst at tempX #7 add,\pst at tempY #8 add,\pst at tempZ #9 add)(#1,#2,#3)(#4,#5,#6)% top square
+      \ifPst at hiddenLine
+%	\psset{}
+	\pstThreeDLine[linestyle=\psk at ThreeDplot@invisibleLineStyle](\pst at tempX #1 add,\pst at tempY,\pst at tempZ)(\pst at tempX,\pst at tempY,\pst at tempZ)(\pst at tempX,\pst at tempY #5 add,\pst at tempZ)
+	\pstThreeDLine[linestyle=\psk at ThreeDplot@invisibleLineStyle](\pst at tempX,\pst at tempY,\pst at tempZ)(\pst at tempX,\pst at tempY,\pst at tempZ #9 add)
+%	\psset{linestyle=\psk at ThreeDplot@visibleLineStyle}
+    \else
+	\pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#1,#2,#3)(#4,#5,#6)% 	bottom square
+	\pstThreeDSquare(\pst at tempX,\pst at tempY,\pst at tempZ)(#4,#5,#6)(#7,#8,#9)% 	right square
+    \fi    
+    \fi
+  \fi
+\fi
+ \endgroup
+ \ignorespaces
 }
+%
 
+
+
 \define at key[psset]{pst-3dplot}{height}[5]{\def\psk at height{#1 }}
 \define at key[psset]{pst-3dplot}{move}[0 0]{\def\psk at move{#1 }}
 \psset{height=5,move=0 0}

Modified: trunk/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty	2017-04-06 00:05:56 UTC (rev 43702)
+++ trunk/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty	2017-04-06 00:28:00 UTC (rev 43703)
@@ -1,4 +1,4 @@
-%% $Id: pst-3dplot.sty 294 2010-02-18 21:15:47Z herbert $
+%% $Id: pst-3dplot.sty 401 2017-04-05 06:57:36Z herbert $
 \RequirePackage{pstricks}
 \RequirePackage{pst-3d}
 \RequirePackage{pst-plot}
@@ -9,7 +9,7 @@
 \input{pst-3dplot.tex}
 \IfFileExists{pst-3dplot.pro}{%
   \ProvidesFile{pst-3dplot.pro}
-    [2010/01/01 v. 0.30,  PostScript prologue file (hv)]
+    [2017/04/05 v. 0.33,  PostScript prologue file (hv)]
     \@addtofilelist{pst-3dplot.pro}}{}%
 \ProvidesFile{pst-3dplot.tex}
   [\filedate\space v\fileversion\space `PST-3dplot' (hv)]



More information about the tex-live-commits mailing list