Sorting medial axis curve

You can get the line endpoints and count their occurence, which gives you the node valence:

That’s the method I used for the work presented in this paper, which also includes a few more post-processing methods for reducing the medial axis:

1 Like