How to create electronic fields for a stepper engine?

Hey n hi,
I would like to model a stepper engine with magnetic fields.
If the stepper casing is spherical can you still apply fields
For torque or motion?
Electrons to an ion-based force might work in zero gravity
Engineering.

Paul