Curve from Loops

Curve from Loops

Anonymous
Not applicable
5,530 Views
9 Replies
Message 1 of 10

Curve from Loops

Anonymous
Not applicable

Hi, 

 

I've modeled some hair shapes but now I would like to create a curve through the middle of each one of them. 

 

Is there a way, script or not, to do this easily? See the attached image.

 

 

0 Likes
5,531 Views
9 Replies
Replies (9)
Message 2 of 10

sean.heasley
Alumni
Alumni

Hi @Anonymous and welcome!

    The easiest way to do this would be to use a bend modifier. You can find steps on how to do that here.

    It may be a bit complicated with how you have the hair as is and it might be easier to make one hair mesh and then duplicate after bending.

Let me know if this solves your issue!

Please hit the Accept as Solution button if my post fully solves your issue, or reply with additional details if the problem persists.

0 Likes
Message 3 of 10

mspeer
Consultant
Consultant

Hi!

 

"Is there a way, script or not, to do this easily?"

No, but you could write one on your own.

But based on the amount of hairs a manual approach should be faster. (If you created the hair from nurbs by extruding along a curve it should be very easy.)

0 Likes
Message 4 of 10

Michael_Todd
Alumni
Alumni

Its just a matter of selecting isoparms on opposite sides of the tube then lofting between them and inserting an isoparm to the new surface, then selecting the isoparm and duplicating the curve from the surface

 

isoparmLoft1.pngAddIsoparm.pngAddIsoparm2.pngInsertIsoparm.pngDuplicateSurfaceCurves.pngDuplicateSurfaceCurves2.png

 

should be scriptable but given the number of tubes, it wouldn't take long to do it manually.

 

XGen has a tube groom option that can derive guides from tubes and adds interpolated guides inside the tube

 

Cheers 



Michael Todd

XGen Product Owner and Designer

0 Likes
Message 5 of 10

Anonymous
Not applicable
Tks

The hair was created in ZBrush and I don't know much about scripting.


0 Likes
Message 6 of 10

mspeer
Consultant
Consultant

Hi!

If the hairs are  polygon objects you can do something similar like @Michael_Todd posted by using tools for polygon objects, or you can work with Nurbs.

 

The key to both methods is:

Modify -> Convert -> Polygon Edges to Curve

If you prefer Polygon Modeling it would be the last step and if you prefer Nurbs modeling as @Michael_Todd showed it would be the first step.

0 Likes
Message 7 of 10

Anonymous
Not applicable

Tks, I've actually found that the best way to do it is using C4D. 🙂

0 Likes
Message 8 of 10

Anonymous
Not applicable

I've recorded a video. It's very cool. Probably MASH does it also.

0 Likes
Message 9 of 10

mspeer
Consultant
Consultant

Hi!

 

Glad you found a way to do it,

but it's not faster or "better" than doing this in Maya.

0 Likes
Message 10 of 10

ostlerda
Contributor
Contributor

Here's a script that will create a curve from a poly tube,  Just select the first edge loop of the tube and it will create a curve down the center of the tube

0 Likes