A quadratic Bézier curve is defined by three points in 3D, $P_0$, $P_1$, and $P_2$. The equation for the Bézier curve is defined through the parameterization of $t$, which has the range $0\leq t\leq 1$, and is as follows: $$B(t)=P_0 (1-t)^2+2P_1 (1-t)t+P_2 t^2$$.
We can calculate the total length of this curve, $l$, along the parameterization as follows: $$l=\int_0^1B(t)dt=\int_0^1 P_0 (1-t)^2+2P_1 (1-t)t+P_2 t^2 dt=\int_0^1 P_0 (1-2t+t^2) + P_1(2t-2t^2) + P_2(t^2) dt$$
This is a fairly easy integral to calculate, as $P_i$ is independent of t, and the rest is very simple. In the end, this becomes $$l=P_0([t]_0^1 -2[t/2]_0^1 + [2t/3]_0^1) + P_1([2t^2/2]_0^1-[2t^3/3]_0^1) + P_2([2t^2/3]_0^1)=\frac{2}{3}P_0 + \frac{1}{3}P_1 + \frac{2}{3}P_2$$
The trouble I am having now is how to convert this into a scalar with a physical meaning.
The thing I first considered was just doing $$\sqrt{(\frac{2}{3}P_0.x + \frac{1}{3}P_1.x + \frac{2}{3}P_2.x)^2 + (\frac{2}{3}P_0.y + \frac{1}{3}P_1.y + \frac{2}{3}P_2.y)^2 + (\frac{2}{3}P_0.z + \frac{1}{3}P_1.z + \frac{2}{3}P_2.z)^2}$$
This may be the correct thing to do, but I don't have a good way of proving it one way or the other, and it doesn't make strong intuitive sense to me.
The other way I could go about it is do the process of calculating $l$ for each dimension within the integral, so that I'd end up with an $l_x, l_y, l_z$, but then I'm still not sure what to do within there.