This will be fixed in 5.7. For the length attribute in particular: “The length of the current curve. Length from the root to the shading point, in cm“
/Charles.