<font color='black' size='2' face='Arial, Helvetica, sans-serif'>

<div> <br>

</div>



<div> <br>

</div>



<div style="clear:both"><font size="2">Dear Cyrille, <br>
<br>
the explanation is in the documentation : 7.6. Construction from scratch<br>
<br>
The object new constructs a solid. Two parameters are used: sommets which indicates the list of<br>
coordinates of the different vertices, and faces which gives the list of faces of the solid; a face is<br>
characterized by a list of the indices of its vertices,<b> listed in counterclockwise order when the face is<br>
viewed from the exterior of the solid.</b><br>
<br>
\begin{center}<br>
\begin{pspicture}(-3,-3)(3,3)<br>
\psset{unit=1cm,viewpoint=100 -30 20 rtp2xyz,Decran=200}<br>
\axesIIID[axisnames={x_1,x_2,x_3}](1,1,1)(2.5,2.5,2.5)<br>
\psSolid[object=new, action=draw*,fillcolor=cyan,<br>
  incolor=red,show=all,num=all,linecolor=blue,<br>
sommets=<br>
0 0 0<br>
0 0 2<br>
0 2 0<br>
2 0 0<br>
0 2 2<br>
2 0 2<br>
2 2 0<br>
2 2 2,<br>
faces={<br>
[0 1 4 2]<br>
[0 3 5 1]<br>
[3 0 2 6]<br>
%[3 5 7 6]<br>
[3 6 7 5]<br>
%[6 7 4 2]<br>
[2 4 7 6]<br>
%[1 4 7 5]<br>
[1 5 7 4]<br>
}]%<br>
\end{pspicture}<br>
\end{center}<br>
<br>
Best regards,<br>
<br>
Manuel</font><br>

</div>

<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----E-mail d'origine-----<br>

De : cyrille piatecki <cyrille.piatecki@univ-orleans.fr><br>

A: pstricks <pstricks@tug.org><br>

Envoyé le : Ve, 19 Sep 2014 16:28<br>

Sujet : [pstricks] colors<br>

<br>






<div id="AOLMsgPart_0_24b7f9eb-0e88-4f1d-a266-6bac1d9e2f4e" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>What is my mistake since I have no color for my cube

%&latex
\documentclass[12pt]{extarticle}
\usepackage{pstricks,pst-solides3d,pstricks-add}

\begin{document}

\mbox{}
\vspace{5cm}

\begin{center}
\begin{pspicture}(-3,-3)(3,3)
%\psgrid
\psset{unit=1cm,viewpoint=90 60 40,Decran=200,fillcolor=cyan}
\axesIIID[axisnames={x_1,x_2,x_3}](1,1,1)(2.5,2.5,2.5)
\psSolid[object=new, action=draw,fillcolor=cyan,
  incolor=red,show=all,num=all,mode=1,linecolor=blue,
sommets=
0 0 0
0 0 2
0 2 0
2 0 0
0 2 2
2 0 2
2 2 0
2 2 2,
faces={
[0 1 4 2]
[0 3 5 1]
[3 0 2 6]
[3 5 7 6]
[6 7 4 2]
[1 4 7 5]
}]%
\end{pspicture}
\end{center}

\end{document}


Thanks
_______________________________________________
PSTricks mailing list
<a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a>
archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_24b7f9eb-0e88-4f1d-a266-6bac1d9e2f4e -->



</div>

</font>