Text this: Structural Topology Design for Electromagnetic Performance Enhancement of Permanent-Magnet Machines