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