chrbradley

chrbradley

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

How to use shelf tools in custom tools? Dec. 15, 2011, 3:48 p.m.

Hi Rafal,

Thanks for the tip. I'm trying to build a tool that auto-rigs hair curves imported from disk. The bonesfromcurve wants to work on objects not primitives; can I get it to work on primitives?

Also I'd like to feed the Chain Name and Number of bones attributes from my script but I can't find any documentation on the bonesfromcurves command I can only find documentation on the shelf tool. Is the script the command runs available for inspection?

Thanks,
Chris

How to use shelf tools in custom tools? Dec. 14, 2011, 8:01 p.m.

Hi,

I'd like to call the bonesfromcurve tool in a custom tool I'm attempting to write. I have two questions:

1) Where does the bonesfromcurve command live? Following the calls made in the Script window after running Edit tool I got this far:

/rel/third_party/houdini/11.0.775_64/houdini/toolbar/ObjectStateTools.shelf
Which calls:
import objecttoolutils
objecttoolutils.customStateTool(kwargs, ‘bonesfromcurve’)

objecttoolutils module is located in:
/rel/third_party/houdini/11.0.775_64/houdini/python2.6libs/objecttoolutils.py

Which Calls:
toolutils.genericTool(kwargs, ‘bonesfromcurve’)

toolutils module is located in:
/rel/third_party/houdini/11.0.775_64/houdini/python2.6libs/toolutils.py

From there I'm stumped, does anybody know where bonesfromcurve actually lives or how to find it?

2) A path of lesser resistance may be to call it directly from my own tool, but I don't know how. Any suggestions on this one?

Thanks,
Chris

per-point wire blend weighting? Nov. 22, 2010, 8:29 p.m.

Ok, I figured this out using VOPs . This technique eliminates the blendshape node:

In this case I needed a quick was to tone down a wire simulation for fur curves without having to re-simulate. You need to have a set of curves that track with your surface, but do not simulate, for this to work on an animated character.

Attached is the example file. If anybody has a better or faster way, I'd love to hear it.