Funtion or Equation of centreline

Hi All,

I am using Extract centreline module for creating vessel centreline.

  1. Is their any way that I can get the function or equation that used to connect the control points ?
  2. Is there a way to edit/crop the centreline once it is created and update the properties table ?

Thank you for the help


For 1.
Here is the code

For 2.
I think there should be a script for that here:

Hope it helps


Thanks for the reply.
But I am weak on coding side. Can you please tell me how can I use these codes to get things done.

Thanking you again

In the second link I posted there should be one script that let’s you extract part of the centerline. You have to search for it reading each script name.

If you don’t find it let me know and I’ll search on Github myself and try to find it