Neowuf
Hello, Im total noob in script, and trying to convert Maya curves into a Fur Groom. Im just a artist and can´t make the code bellow to work. Where my object name go ? Do it means to replace $mesh_object with the name ? Help is so much appreciated !

pgYetiConvertGuideSetToGroom(
string $guide_set, string $mesh_object, float $stepSize )
is used to convert a guide curve set into a Yeti Groom node for combing, $guide_set is the set that you want to convert and $mesh_object is the object the guides are to be growing from. Step size should be 0.1 by default, but other values may be passed to refine the detail of the output strands.
pshipkov
Select the guide curves
string $curves[] = 'ls -sl';
pgYetiConvertGuideSetToGroom($curves, "theNameOfMyScalpMesh", 1.0);
Change the step size argument to get a good result.
Reply 0 0
Neowuf
Thank you so much ! You got me in the right direction, just a little change and its working!

string $guide = "guide_set1";
pgYetiConvertGuideSetToGroom($guide, "pSphereShape1", 0.1);

Reply 0 0
Reply