[pstricks] some questions on pst-solide3d

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Thu Jan 8 21:57:09 CET 2009

I beginning to learn (very slowly) the working of pst-solides3d, using  
an adaptation of the Moebius band example on the melusine.eu.org  
website.  Here is the part of the code I am working on (the first line  
makes sure TeXShop uses ghostscript+latex, not pdflatex;  the  
commented package calls are ones I might like to make later):
%!TEX TS-program =  latex

%\usepackage{amsmath, amssymb}
\usepackage[dvipsnames, svgnames]{pstricks}
\usepackage{pst-plot, pst-math, pst-3dplot}
\usepackage{pst-grad, pst-func, pst-text}


\title{Brief Article}
\author{The Author}

			{2 u v Cos mul add 2 v mul Cos mul}
			{2 u v Cos mul add 2 v mul Sin mul}
			{u v Sin mul}
		\psset[pst-solides3d]{viewpoint=20 10 5,Decran=40,lightsrc=0 10 10}
			base=0.2 0.25 0 pi,linewidth=0.1,
			base=-0.25 -0.2 0 pi,linewidth=0.1,
		\psSolid[object=surfaceparametree, linewidth=0.5\pslinewidth,
			base=-0.25 0.25 0 pi, fillcolor=lightgray!50, incolor=white!50,

\caption{Moebius Band}

This creates a reasonable facsimile of the picture on the website  
(except that I have changed th e colors, and added a lightsource---a  
primary reason to use this package).

However, several items puzzle me:

1. Where do the limits on the parameters u and v get set?  If I want  
the width of the band to
change, where do I modify the code?

2. what does the !50 after the colors do?

3. What is the role of base=...?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090108/822e2c21/attachment.html 

More information about the PSTricks mailing list