Text this: Calculating dislocation displacements on the surface of a volume