

Other
-----

Examples
++++++++

A simple grid motion example::

  import pyShift.gengrid_stub
  import math

  g0=pyShift.gengrid_stub.cube(4)
  alpha=45*(math.pi/180.)
  p0=(0.0,0.0,0.0)
  p1=(0.0,1.0,0.0)
  trans=(0.0,0.0,0.5)

  g1=pyShift.shift(g0,p0,p1,alpha,trans)

``g1`` is the result of the motion on ``g0``.

