Back to Recipes Homepage
recipe picture
Recipe: refaxis
Created by bob1928 71 1541
Your rating: None


Name: refaxis
ID: 48212
Created on: Fri, 02/14/2014 - 09:13
Updated on: Fri, 02/14/2014 - 17:43

creates axes as reference markers

Best For


bob1928's picture
User offline. Last seen 3 years 2 weeks ago. Offline
Joined: 12/16/2012
Groups: Gargleblasters
Creates Axes for Reference

Attaches a set of disabled bands to segment 1
as visual reference marks. Since these are
referenced to segment 1, 2, and 3 the orientation
can change as those segments are rebuilt.

The first angle argument (theta) in the code is
"angle from zenith" (like latitude, but 0 is north pole,
pi/2 (90 deg) is equator, pi (180 deg) is south pole).

The Z axis is longer and thicker. X and Y follow
a "Right Hand" convention (as the fingers of the
right hand curl from X toward Y, the thumb points
to Z.)

These are visual reference marks only. They are not
universal and serve no purpose in setting or
reading positions.

The second angle argument (last entry in the band.Add
commands) is usually know as Phi. It is measured going
around Z and is positive going from X toward Y, just
like longitude.

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.





Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons