Jump to content
AntoineSfx

Best fitting skin for a set of closed curves

Recommended Posts

I have this set of closed curves, all of them have the same point count. (Those are cross sections of a leg of SimpleFemale)

How do I make the skin nice and even ?

A useful operator  is Reverse SOP / Shift / U Offset , to rewire the prims so that they connect differently ot each others in skin

I'm trying so see if I can abuse another operator with built-in minimization 

Any idea ?

skin.png

Share this post


Link to post
Share on other sites

Using FindShortestPath, I built one path that links the top primitive to the bottom one, and in a foor loop, I shifted the vertices of the primitives so that  the first vertex  is always the one on that path.

It is not necessary the global minimum, as the top and bottom are chosen by the user, but it's good enough for simple cases.

viewport.png

network.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×