I understand you’d like to use a Measurement Price Calculator plugin like this one to set the price of a product based on its length. While most of my findings appear to include paid/premium plugins, there are some which you can look more into here.
I hope this helps!
]]>