# [pstricks] PSTricks Digest, Vol 120, Issue 4

Manuel Luque mluque5130 at aol.com
Sun Jan 13 20:42:21 CET 2013

Cyrille Piatecki wrote :
>I think that you have not really understud my question.

Sorry.
It is easy to place a dice with its coordinates CX and CY. We then turns around Ox or Oy with angles: thetax and thetay values by multiples of 90.

Some examples:

\begin{center}
\psset{unit=0.5}
\psset{Decran=20,K=.5,Dobs=40,carpet=true,PHI=40,Side=2,THETA=135}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false]
\end{pspicture}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false,thetax=90]
\end{pspicture}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false,thetax=270]
\end{pspicture}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false,thetax=180]
\end{pspicture}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false,thetay=90]
\end{pspicture}
\begin{pspicture}(-7,-5)(7,5)
\Die[CX=4,CY=4]
\Die[CX=-4,CY=-4,carpet=false,thetay=270]
\end{pspicture}
\end{center}

-----E-mail d'origine-----
De : Cyrille Piatecki <cyrille.piatecki at univ-orleans.fr>
A: pstricks <pstricks at tug.org>
Envoyé le : Di, 13 Jan 2013 19:24
Sujet : Re: [pstricks] PSTricks Digest, Vol 120, Issue 4

Le 12/01/2013 16:24, pstricks-request at tug.org a écrit :
> Send PSTricks mailing list submissions to
> 	pstricks at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
> 	pstricks-request at tug.org
>
> You can reach the person managing the list at
> 	pstricks-owner at tug.org
>
> than "Re: Contents of PSTricks digest..."
>
>
> Today's Topics:
>
>     1. Re: pstDie (Manuel Luque)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 12 Jan 2013 10:24:14 -0500
> From: Manuel Luque <mluque5130 at aol.com>
> To: <cyrille.piatecki at univ-orleans.fr>, <pstricks at tug.org>
> Subject: Re: [pstricks] pstDie
> Message-ID: <8CFBEF00375070D-16E8-11E49 at webmail-d162.sysops.aol.com>
> Content-Type: text/plain; charset="utf-8"
>
>
>
> Cyrille Piatecki wrote :
>
>> In pst-ob3D I have seen that we can choose randomly the up face of the
>> dice but I need to choose by myself the up face. How can I do ?
>   Here is an example of random dice thrown in 3D with PSTricks. It uses the
macro "RANDOM" written by Denis Arseneau, and the package by Michael Mehlich :
"fp".
>
> http://manuel.luque.perso.neuf.fr/Des/
>
> (in french)
>
>
>
>
>
>
>
>
> Manuel
>
>
>
>
>
> -----E-mail d'origine-----
> De : Cyrille Piatecki <cyrille.piatecki at univ-orleans.fr>
> A: pstricks <pstricks at tug.org>
> Envoy? le : Me, 9 Jan 2013 7:54
> Sujet : [pstricks] pstDie
>
>
> In pst-ob3D I have seen that we can choose randomly the up face of the
> dice but I need to choose by myself the up face. How can I do ?
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://tug.org/pipermail/pstricks/attachments/20130112/ca9b8596/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: dices.png
> Type: image/png
> Size: 37966 bytes
> Desc: not available
> URL: <http://tug.org/pipermail/pstricks/attachments/20130112/ca9b8596/attachment.png>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> ------------------------------
>
> End of PSTricks Digest, Vol 120, Issue 4
> ****************************************
>
I think that you have not really understud my question. The random draw
set apart, I wonder how to display volontarily a specific up-face of the
dice. In all the exemples of the documention 4 points appears but I want
to display  the four other faces up in a deterministic way. to list all
the combination of the thraw of two dices. Right now I haven't seen how
to display it .

Thanks

Cyrille Piatecki
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20130113/faf72335/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faces.png
Type: image/png
Size: 182473 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20130113/faf72335/attachment-0001.png>