rigid body pes scanning, grid generator