[yt-users] Orientation of cutting plane (was no subject)

Nathan Goldbaum goldbaum at ucolick.org
Thu Apr 12 17:56:17 PDT 2012


Nope, no north_ vector in AMRCuttingPlaneBase.  

Looking at the camera interface it looks like something similar could be set up for the cutting plane.  I'll take a look at this sometime if no one else wants to take a stab at it.

Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC
goldbaum at ucolick.org
http://www.ucolick.org/~goldbaum

On Apr 12, 2012, at 5:18 PM, Cameron Hummels wrote:

> Hi Nathan,
> 
> There should be a north_vector you can set, or at least there is in the off-axis-projection, which is nearly the same (projection vs slice).  If it doesn't exist in the cutting plane object, we might be able to just copy the code over from off-axis-projection.
> 
> Cameron
> 
> On 4/12/12 8:10 PM, Nathan Goldbaum wrote:
>> Hi all,
>> 
>> I'm currently analyzing a simulation that contains a disk which is inclined with respect to the simulation box.  I've figured out how to make slices through the disk midplane using the cutting plane object but when I try to slice vertically through the disk, I get back images with the disk inclined with respect to the viewing angle.
>> 
>> I could fix this if I could control the position angle of the cutting plane but it doesn't look like there is any way to do that currently.  Looking at AMRCuttingPlaneBase the docstring says that the cutting plane tries to guess an 'up' direction and that the user cannot set it themselves.  Is there a reason for that?
>> 
>> Thanks very much for your help,
>> 
>> -Nathan Goldbaum
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> !DSPAM:10175,4f8770d7191891039022735!
> 




More information about the yt-users mailing list