Orientations
This is a naming scheme for piece orientations.
We need to precisely describe orientations to describe puzzle solutions.
Axes
The legs of the piece below show the directions of the X, Y, Z axes.
- Positive X goes to the viewer's right.
- Positive Y goes toward the viewer and is the shortest leg.
- Positive Z goes upward and is the longest leg.
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
X, Y, Z axes.
Orientation Names
Orientation names have two parts:
- A letter indicating the face that faces down (A,N,E,W,S,U). A means the bottom faces down. N, E, W, S are named after compass directions, where each of these sides face down. U is the upside-down orientation, equivalent to applying the E or W transform twice.
- A digit indicating the number of 90ยบ clockwise turns around the Z axis (0,1,2,3)
Thus, A0 is the identity orientation (no change).
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
A0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
A1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
A2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
A3 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
N0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
N1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
N2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
N3 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
E0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
E1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
E2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
E3 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
W0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
W1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
W2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
W3 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
S0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
S1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
S2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
S3 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
U0 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
U1 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
U2 orientation
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
front
back
right
left
top
bottom
U3 orientation
Evaluating Piece Orientations
- Which orientations have overhangs?
- Which orientations are 2D (height=1)?
- What is the footprint of each orientation? (useful for pruning the decision tree when solving)
- Which orientations are duplicates? Which footprints are?