<div>
<div><font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font>There exist examples of polyhedrons truncated and/or chamfered on the <br>
databasis of pst-solides3d as well as animations: <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font><br>
</div>
<div><a target="_blank" rel="nofollow" href="http://melusine.eu.org/lab/bpst/pst-solides3d">http://melusine.eu.org/lab/bpst/pst-solides3d</a> <br>
</div>
<div><a target="_blank" rel="nofollow" href="http://melusine.eu.org/syracuse/pstricks/pst-solides3d/animations/">http://melusine.eu.org/syracuse/pstricks/pst-solides3d/animations/</a> <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font><br>
</div>
<div>Here are two examples : <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font><br>
</div>
<div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <br>
\documentclass{article} <br>
\usepackage{pst-solides3d} <br>
\makeatletter <br>
\def\lightsource{ <br>
\pstVerb{\pst@solides@viewpoint <br>
/PhI exch def /ThetA exch def /Dist exch def <br>
/Lx Dist ThetA cos mul PhI cos mul def <br>
/Ly Dist ThetA sin mul PhI cos mul def <br>
/Lz Dist PhI sin mul def}% <br>
\psset{lightsrc=Lx Ly Lz} } <br>
</div>
\makeatother <font face="Arial, Helvetica, sans-serif"><br>
<br>
</font> \begin{document} <br>
<div>\begin{center} <br>
\begin{pspicture}(-4,-4)(4,4) <br>
\psset{SphericalCoor,viewpoint=100 20 20,Decran=100} <br>
\pstVerb{/radius 4 def <br>
/edge_cube radius 4 mul 3 div def <br>
/dot_axes edge_cube 2 div def}% <br>
\lightsource <br>
\psSolid[object=octahedron, <br>
a=radius , <br>
trunc=all, <br>
hue=.5 .6 0.5 1, <br>
trunccoeff=.3333, <br>
action=draw*] <br>
\psSolid[object=octahedron, <br>
a=radius,linecolor=gray, <br>
action=draw] <br>
\psSolid[object=cube,linecolor=red, <br>
a=edge_cube, <br>
action=draw] <br>
\axesIIID(dot_axes,dot_axes,dot_axes)(5,5,5) <br>
\end{pspicture} <br>
\end{center} <br>
</div>
<div>\end{document} <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font><br>
</div>
<div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font> <br>
</div>
<div>\documentclass{article} <br>
\usepackage{pst-solides3d} <br>
\makeatletter <br>
\def\lightsource{ <br>
\pstVerb{\pst@solides@viewpoint <br>
/PhI exch def /ThetA exch def /Dist exch def <br>
/Lx Dist ThetA cos mul PhI cos mul def <br>
/Ly Dist ThetA sin mul PhI cos mul def <br>
/Lz Dist PhI sin mul def}% <br>
\psset{lightsrc=Lx Ly Lz} } <br>
</div>
\makeatother <font face="Arial, Helvetica, sans-serif"><br>
<br>
</font> \begin{document} <br>
<div>\begin{center} <br>
\begin{pspicture}(-4,-4)(4,4) <br>
\psset{SphericalCoor,viewpoint=100 20 20,Decran=100} <br>
\pstVerb{/radius 4 def <br>
/edge_cube radius 4 mul 3 div def <br>
/dot_axes edge_cube 2 div def}% <br>
\lightsource <br>
\psSolid[object=octahedron, <br>
a=radius , <br>
trunc=all, <br>
hue=.5 .6, <br>
trunccoeff=.3333, <br>
action=draw,numfaces=all] <br>
%\psSolid[object=octahedron, <br>
% a=radius,linecolor=gray, <br>
% action=draw] <br>
%\psSolid[object=cube,linecolor=red, <br>
% a=edge_cube, <br>
% action=draw] <br>
%\axesIIID(dot_axes,dot_axes,dot_axes)(5,5,5) <br>
\end{pspicture} <br>
\end{center} <br>
</div>
<div>\begin{center} <br>
\begin{pspicture}(-4,-4)(4,4) <br>
\psset{SphericalCoor,viewpoint=100 20 10,Decran=100} <br>
\pstVerb{/radius 4 def <br>
/edge_cube radius 4 mul 3 div def <br>
/dot_axes edge_cube 2 div def}% <br>
\lightsource <br>
\psSolid[object=octahedron, <br>
a=radius , <br>
trunc=all, <br>
hue=.5 .6, <br>
trunccoeff=.3333,hollow,incolor=yellow!50, <br>
action=draw**,rm=8 9 10 11 12 13] <br>
%\psSolid[object=octahedron, <br>
% a=radius,linecolor=gray, <br>
% action=draw] <br>
\psSolid[object=cube,linecolor=red, <br>
a=edge_cube, <br>
action=draw] <br>
\axesIIID(dot_axes,dot_axes,dot_axes)(5,5,5) <br>
\end{pspicture} <br>
\end{center} <br>
\end{document} <br>
</div>
<div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"><br>
</font></div>
<div><font face="Arial, Helvetica, sans-serif"></font><br>
</div>
Manuel </div>
<div> <br>
</div>
<div> <br>
</div>
<font face="Arial, Helvetica, sans-serif"></font>
<div id="AOLMsgPart_0_9d81fffa-428a-4bd4-a764-1c08e46109de" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><pre style="font-size: 9pt;"><font face="Arial, Helvetica, sans-serif"></font><tt><br>
<br>
<a href="http://syracuse.eu.org/lab/bpst/pst-solides3d/troncatures/truncoctahedron.pst" target="_blank"><br>
</a><a href="http://tug.org/mailman/listinfo/pstricks" target="_blank"></a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_0_9d81fffa-428a-4bd4-a764-1c08e46109de -->