Planing or slotting machines cutting otherwise than by relative movement of the tool and workpiece in a straight line