Plane mechanics and kinematics of compressible ideal granular materials