I would really love to use package pst-solides3d to draw 3D solids but so far I haven't been able to work on it. I am just a beginner of using pst-solides3d so and I do not know how to figure this following code out. When I was compiling the simple following code, always was being the error, that is: ! Undefined control sequence. Please anybody helps me with that, many thanks to you.
Code complied:
\documentclass[a4paper]{report}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(1,1)(2,2)
\psSolid[object=cube,a=2,action=draw*]
\end{pspicture}
\end{document}
pstricks
code with LaTeX+dvips or XeLaTeX, not pdfLaTeX. – Alan Munn Jun 19 '17 at 3:16auto-pst-pdf
afterpstricks
and add to the command line the--enable-write18
switch (MiKTeX) or-shell-escape
(TeX Live, MacTeX). Then you can usepdflatex
. – Bernard Jun 19 '17 at 9:25