Electric Generator Motor Design Optimization For 3d