Unbale to cut segments properly

Hello everyone,

I am trying to select different polylines & arcs and create a single polyline after doing that I want to cut the new polyline into segments of unequal length through excel finally getting the x,y,z of the points as shown in the picture.

While doing the same dynamo is giving me number of segments I want but the length of segments are wrong. Unable to find out why.

Any suggestion the same will be very much helpful.

Regards
Krishan