Plane generation