3D automatic wire winding