Dual-purpose machining center for sawing and engraving/milling