The locomotive was modeled in SolidWorks. Linear motion was turned into rotational motion which allowed for the wheels to turn.