[pstricks] Confusion with with \psSolid[](0,0,0)?
robert.fischer10 at arcor.de
robert.fischer10 at arcor.de
Sat Jul 18 18:49:51 CEST 2009
Hello Jean-Paul & Herbert,
thanks for the adjustment of pst-solides3d.tex. It works now perfect for \psSolid without any shifting.
The shifting just keeps for the jps-code in combination with solidmemory
\documentclass{minimal}
\usepackage{pst-pdf}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
\begin{minipage}{0.6\textwidth}
\begin{pspicture}(-2,-2)(2,3)
\psgrid[gridcolor=gray,subgridcolor=lightgray]
\psset{lightsrc=viewpoint,lightintensity=1.2,Decran=17}
\psset{solidmemory}
\codejps{
0 0.01 2 {4} newcylindre
drawsolid**}
% (also ok, if \axesIIID afterwards: see following two lines)
%\axesIIID[showOrigin=true,axisnames={x,y,z},
% arrowinset=0,arrowscale=1.5](1,1,1)(2,2,3)
%
\end{pspicture}
\end{minipage}
Best Regards,
Robert.
----- Original Nachricht ----
Von: pstricks-request at tug.org
An: pstricks at tug.org
Datum: 17.07.2009 12:00
Betreff: PSTricks Digest, Vol 78, Issue 9
> Send PSTricks mailing list submissions to
> pstricks at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
> pstricks-request at tug.org
>
> You can reach the person managing the list at
> pstricks-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
>
>
> Today's Topics:
>
> 1. Re: tangent lines and positioning within pst-solides3d
> (Jean-Paul Vignault)
> 2. Re: Confusion with with \psSolid[](0,0,0)? (Jean-Paul Vignault)
> 3. Re: Confusion with with \psSolid[](0,0,0)? (Herbert Voss)
> 4. Re: Package Conflict pst-3dplot | pst-solides3d ? (Herbert Voss)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 16 Jul 2009 15:18:41 +0200
> From: Jean-Paul Vignault <jpv at melusine.eu.org>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] tangent lines and positioning within
> pst-solides3d
> Message-ID: <4A5F28B1.3030001 at melusine.eu.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> thanks for your image. I've put it there :
>
> http://melusine.eu.org/lab/bpst/pst-solides3d/divers/directional_derivative.
> pst
>
> > 1. The command \psSurface has the option of drawing the curve that
> > results of intersecting a defined surface with a plane. Is it possible
> > to label such a curve for further use later on?
>
> Not possible yet. But it's a good idea. Maybe in a future release ?
>
> > 2. Is there a direct way to plot the tangent line to the curve that
> > results of intersecting a defined surface with a plane?
>
> [...]
>
> no.
>
> > 3. How do we translate a line object? I tried for instance
> >
> > \psSolid[object=line,args=-0.5 -4 8.775 4.25 5.5
> > 8.775,linewidth=1.5pt,linestyle=dashed,linecolor=blue](a,b,c) to place
> > the line at the point (a,b,c) but it didn't work. However, it did work
> > with object=plan.
>
> "line" object is not a real "solid type". It should be, but it missed
> some time. It will be ok in the next release.
>
> By waiting this future release, you can try with \codejps as here :
> http://melusine.eu.org/lab/bpst/pst-solides3d/divers/line_01.pst
> where line L2 is the result of line L1 translation.
>
> > 4. Following the previous question, what is the center of an
> > object=plan? I translate such an object to a point (a,b,c) but I did
> > it more or less by trial and error.
>
> I don't understand the question
>
> > 5. Finally, I tried to use linestyle=none as an option in the \psSolid
> > command for the object=plan, but it did not work.
>
> ok.
>
> Thanks for use pst-solides3d
>
> Best regards,
>
> Jean-Paul Vignault
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 16 Jul 2009 18:25:09 +0200
> From: Jean-Paul Vignault <jpv at melusine.eu.org>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] Confusion with with \psSolid[](0,0,0)?
> Message-ID: <4A5F5465.7070102 at melusine.eu.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> > Hello,
>
> Hello,
>
> > below examples, which leads to different results. The origin of a
> > solides3D object (e.g. cylinder) is shifted in combination with
> > 'solidmemory' and the (0,0,0)-option. Drawing \axesIIID after psSolid
> > eliminates the shifting again.
> >
> > Works this as designed? For reproducing please comment out the single
> > parts. psgrid is the reference system.
>
> hmm.. I can't find the bug, which seems to be in file
> pst-solides3d.tex :(
>
> In fact, the option 'solidmemory' is really tricky... Need some time.
>
> > Best Regards,
>
> Best Regards,
>
> > Robert.
>
> Jean-Paul.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 16 Jul 2009 19:22:00 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] Confusion with with \psSolid[](0,0,0)?
> Message-ID: <4A5F61B8.7030205 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1
>
> robert.fischer10 at arcor.de schrieb:
>
> > below examples, which leads to different results. The origin of a
> solides3D object (e.g. cylinder) is shifted in
> > combination with 'solidmemory' and the (0,0,0)-option. Drawing \axesIIID
> after psSolid eliminates the shifting again.
> >
> > Works this as designed? For reproducing please comment out the single
> parts. psgrid is the reference system.
>
> it is a trailing space. try again with
> http://voss.homedns.org/packages/pst-solides3d/pst-solides3d.tex
>
> Herbert
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 16 Jul 2009 19:24:36 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] Package Conflict pst-3dplot | pst-solides3d ?
> Message-ID: <4A5F6254.5070703 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1
>
> robert.fischer10 at arcor.de schrieb:
>
> > in one document I use 3dplot and solides3d for different pictures. Without
> having pst-3dplot, the solides3d example
> > below works. With pst-3dplot I get a error message. nevertheless the
> picture is drawed in the correct way.
> >
> > Moreover there exists the note 'that after pst-3dplot no package is
> loaded, which uses the old keyval interface.'
> >
> > Following works fine without any error (\usepackage{pst-3dplot} is
> commented out)
> >
>
> [...]
>
> > Problem:
> >
> > if \usepackage{pst-3dplot} used, the picture looks identical. But
> follwoing error message:
> >
> > ! Bad number: MyBeta 0 substituded \@pstrickserr
> > ! Bad number: MyAlpha 0 substituded \@pstrickserr
> >
> > Any idea what is the reason behind?
>
>
> both packages use a RotX|Y|Z, but pst-3dplot checks if it is
> an angle. You have to set it by \psset[pst-solides3d]{RotX=myRot}
>
> Herbert
>
>
> ------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> End of PSTricks Digest, Vol 78, Issue 9
> ***************************************
>
More information about the PSTricks
mailing list