<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Myriad Pro">... here a nice example from Manuel Luque:<br>
<br>
</font>
<pre><b>\documentclass</b>{minimal}
<b>\usepackage</b>[dvipsnames,svgnames]{pstricks}
<b>\usepackage</b>{pst-solides3d}
<span style="color: rgb(255, 0, 0);">\begin</span>{<span
style="color: rgb(0, 0, 255);">document</span>}
<b>\pagestyle</b>{empty}
<span style="color: rgb(255, 0, 0);">\begin</span>{<span
style="color: rgb(0, 0, 255);">pspicture</span>}(-6,-3)(6,3)
<b>\psset</b>{unit=1.5}
<b>\defFunction</b>{mobius}(u,v)
{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}
<span style="color: rgb(127, 127, 127);"><i>%\defFunction[algebraic]{mobius}(u,v)</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><span style="color: rgb(127, 127, 127);"><i>% {(2+u*cos(v))*cos(2*v)}</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><span style="color: rgb(127, 127, 127);"><i>% {(2+u*cos(v))*sin(2*v)}</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><span style="color: rgb(127, 127, 127);"><i>% {u*sin(v)}</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><b>\psframe</b>*[linecolor=green!50](-6,-3)(6,3)
<b>\psset</b>[pst-solides3d]{viewpoint=20 10 5,Decran=40,lightsrc=20 10 10}
<b>\psSolid</b>[object=parallelepiped,a=5,b=5,c=0.5](0,0,-0.5)
<b>\psSolid</b>[object=grille,base=-2.5 2.5 -2.5 2.5,ngrid=0.25,
linewidth=0.5<b>\pslinewidth</b>](0,0,-0.25)
<b>\psSolid</b>[object=surfaceparametree,linewidth=0.75<b>\pslinewidth</b>,
base=0.2 0.25 0 pi,linewidth=0.1,
function=mobius,
ngrid=.025]<span style="color: rgb(127, 127, 127);"><i>%</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><b>\psSolid</b>[object=surfaceparametree,linewidth=0.75<b>\pslinewidth</b>,
base=-0.25 -0.2 0 pi,linewidth=0.1,
function=mobius,
ngrid=.025]<span style="color: rgb(127, 127, 127);"><i>%</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><b>\psSolid</b>[object=surfaceparametree,linewidth=0.5<b>\pslinewidth</b>,
base=-0.25 0.25 0 pi,fillcolor=yellow!50,incolor=yellow!50,
function=mobius,
ngrid=.05]<span style="color: rgb(127, 127, 127);"><i>%</i></span><span
style="color: rgb(127, 127, 127);"><i>
</i></span><b>\psSolid</b>[object=parallelepiped,
a=4.5,b=4.5,c=0.5,action=draw]
<b>\psset</b>{solidmemory}
<b>\psSolid</b>[object=plan,
definition=normalpoint,
args={2.5 0 0 [1 0 0 90]},
action=none,name=monplan]
<b>\psProjection</b>[object=texte,
fontsize=15,pos=cc,
text={ruban de Möbius},
plan=monplan](0,-.5)
<b>\psSolid</b>[object=plan,
definition=normalpoint,
args={0 2.5 0 [0 1 0 180]},
action=none,name=monplan]
<b>\psProjection</b>[object=texte,
fontsize=15,
text={pst-solides3d},
plan=monplan](0,-0.5)
<b>\psPoint</b>(2.25,0,0){X1}<b>\psPoint</b>(3.5,0,0){X2}
<b>\psPoint</b>(0,2.25,0){Y1}<b>\psPoint</b>(0,3.5,0){Y2}
<b>\psPoint</b>(0,0,0){Z1}<b>\psPoint</b>(0,0,1.5){Z2}
<b>\psline</b>{->}(X1)(X2)<b>\uput</b>[dl](X2){<span
style="color: rgb(0, 0, 127);">$x$</span>}
<b>\psline</b>{->}(Y1)(Y2)<b>\uput</b>[dr](Y2){<span
style="color: rgb(0, 0, 127);">$y$</span>}
<b>\psline</b>{->}(Z1)(Z2)<b>\uput</b>[r](Z2){<span
style="color: rgb(0, 0, 127);">$z$</span>}
<span style="color: rgb(255, 0, 0);">\end</span>{<span
style="color: rgb(0, 0, 255);">pspicture</span>}
<span style="color: rgb(255, 0, 0);">\end</span>{<span
style="color: rgb(0, 0, 255);">document</span>}</pre>
<br>
Regards,<br>
<br>
Juergen<br>
<br>
<br>
Fosk wrote:
<blockquote
cite="mid:362a69cc0812180724v5d547306m6a0ab62e75099b37@mail.gmail.com"
type="cite">
<p>Good morning everybody. How can I draw a Mobius strip using
PStricks? I tried using pst-plot3d but i can't control the design of
parametric 2-manifold (i obviously know a global atlas) ...I found only
the function allowing to draw parametric curves in R3.</p>
<p>Thanks a lot<br>
</p>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
PSTricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="65">--
Jürgen Gilg
Austr. 59
70376 Stuttgart
-------------------------------------
Tel 0711.59 27 88
e-Mail <a class="moz-txt-link-abbreviated" href="mailto:gilg@acrotex.net">gilg@acrotex.net</a>
Websites <a class="moz-txt-link-abbreviated" href="http://www.acrotex.net">www.acrotex.net</a>
<a class="moz-txt-link-abbreviated" href="http://www.brueckenkurs-physik.de">www.brueckenkurs-physik.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.gilligan-online.de">www.gilligan-online.de</a>
</pre>
</body>
</html>