Since both x and y are cubic parametric functions, there is no closed solution in terms of simple functions. Digital integration is the way to go. Either integrating the expression for the length of the arc, or just adding the lengths of the line segment, depends on the accuracy you perform and how much effort you want to perform.
The exact and fast method "Adding the length of line segments":
Using recurvise subdivision (the de Castellau algorithm form) to create points, you can give an accurate representation with a minimum number of points. Only subdivide units if they do not meet the criteria. Typically, the criteria are based on the length connecting the control points (body or cage). For a cube, usually comparing the proximity of P0P1 + P1P2 + P2P3 with P0P3, where P0, P1, P2 and P3 are the control points that define your bezier.
Here you can find the Delphi code: link text
Relatively easy to convert to Python. It will generate points. The code already calculates the length of the segments to check the criteria. You can simply accumulate these lengths along the way.
symmetry
source share