Not sure how that relates to the carve sop. But just to get the U value at each point on a curve add a UVTexture sop set to rows and columns the uv texture attribute will then contain what you need.
The trick is finding just the right hammer for every screw