Driver Side Axles
The top one is from the NX and the bottom is the Gti-r. Length wise the NX axle is around 25 3/8in and the Gti-r axle also is around 25 3/8in.
The front of the axle which goes into the hub are similar. Thread pattern for the nut and spline are the same just slight different design where it fits in the hub. They will still work in the NX hub assemble and I believe the Gti-r's use the same wheel bearings and such anyways as the NX and sentras.
However the Gti-r axles and NX axles are not interchangeable because of the back of them. If you look closely in the picture you can see how they are different. The Gti-r axle has a bigger diameter and the splines are much shorter.
Passenger Side Axles
The top one is from the NX and the bottom is the Gti-r. The NX axle is around 37in and the Gti-r axle is around 37 3/8in.
The front of the axle which goes into the hub assembly are similar between the two. The thread pattern for the nut and spline are the same just slightly different designs where it fits into the hub. They will still work in the NX hub assembly. Also I believe the Gti-r's use the same wheel bearings and such anyways as the NX and Sentras.
Here is a picture of the middle of the axles. Mine didn't come with a bracket for support so I will have to look into it and then compare the two.
However the Gti-r axles and NX axles are not interchangeable because of the back of them. If you look closely in the picture you can see how they are different. The Gti-r axle has a lot shorter splines when compared to the NX axle. I'm not sure if the spline pattern is the same but it does look to be.
Remember the measurements are just estimates since its hard to get an exact measurement of a axle with a tape measure. Also they lengths seem a bit odd to me so I'm going to have to look into it some more to see why that is unless I measured wrong. Now if you had to I don't see any reason at the moment why you couldn't use the front of the NX axles and combine them with the back of the Gti-r axles if need be.