Connecting curve deformer to pegs?

Does anyone know how to take a curve deformer and attach the points in the curve to pegs?

I’ve been working out ways to do ik, and I can create a knee peg that behaves pretty well based on the positions of a hip and foot peg.

Now I want to drive a curve deformer that deforms the leg with the three pegs… it for the life of me I can’t figure out how to get the curve deformed to stick to the pegs.

Does anyone have any ideas?


Here’s a link to the TPL: