[pstricks] No dashed line with pst-vue3d?

Eric Van Horn evanhorn at utsi.edu
Sat Sep 8 15:58:39 CEST 2012


Thanks for the help; that did the trick (and I'm glad I wasn't making a stupid mistake).

My application is to illustrate the heat flux through a spherical differential element (see the attached tex file).  I first looked at solides3d, but as far as I can tell, the solides3d package does not have the capability to produce smooth curved spherical sections.  The vue3d package seemed to better fit my needs, even if it looked outdated and did not appear to be maintained any longer.  If I am incorrect in this understanding please let me know.  I would much prefer to use maintained packages rather than have to add code to make obsolete packages work.

Thanks again,
--
Eric Van Horn



On Sat, 2012-09-08 at 08:33 +0200, Herbert Voss wrote:


Am 08.09.2012 05:12, schrieb Eric Van Horn:

> This is the only package for which I have seen this problem.  I am using
> TeXLive 2012 on Linux, but it works on my work computer running an older
> MikTeX installation (2008) with Windows 7.  The only difference between
> the two installations are the pstricks.sty (v0.40 / v0.52) and
> pstricks.tex (v1.29 / v2.30) files, i.e., the pst-vue3d package is v1.24
> in both instances.  However, when I did a local installation of the
> latest pstrick package on my work computer, it produced the same results
> as my Linux installation. And I did run texhash on the TeXLive
> installation and refreshed the filename database on MikTeX (as evidenced
> by the version numbers on the log file - unfortunately I do not have any
> of the MikTeX log files).
>
> Am I missing something that explains this error? I have only started
> using pstricks, so it may be something very obvious...

looks like a bug in the package. Use it this way:

\documentclass{article}
\usepackage{pst-vue3d}
\makeatletter
\providecommand\pst at linetype{1}
\makeatother

\begin{document}

   \begin{pspicture}(1,.5)(7,5)

\psset{THETA=-30,PHI=-30,Dobs=10,Decran=10,fillstyle=solid,fillcolor=blue}
     \psframe[linestyle=dashed,fillcolor=red](0,0)(4,4)
     \PortionSphereThreeD[linestyle=dashed](0,0,0){4}
   \end{pspicture}
\end{document}


However, pst-vue3d is really obsolet, you should try pst-solides3d,
it has more features. Run the documentation with "texdoc pst-solides3d"

Herbert

_______________________________________________
PSTricks mailing list
PSTricks at tug.org<mailto: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/20120908/ca90009f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: heatxfersphere.tex
Type: text/x-tex
Size: 2207 bytes
Desc: heatxfersphere.tex
URL: <http://tug.org/pipermail/pstricks/attachments/20120908/ca90009f/attachment.bin>


More information about the PSTricks mailing list