[Sidefx-houdini-list] Forward Kinematics in Houdini

Andrew D Lyons tstexture at gmail.com
Tue Jun 1 16:49:32 EDT 2010


You can also access the various obj node transforms and pre-transforms via HOM:

Take a look through some of these:

>>> node = hou.node('/obj/geo1')
>>> node.parent()
>>> node.worldTransform()
>>> node.setWorldTransform()
>>> node.parentAndSubnetTransform()
>>> node.setPreTransform()
>>> node.preTransform()

Also, take a look at the  hou.hmath. module. There's some good stuff
in there for manipulating matrices, transforms etc.

Cheers


On 1 June 2010 13:32, Ken Ouellette <ken.ouellette at gmail.com> wrote:
> I remember this in hscript?
>
> / -> help objparent
> objparent
>    Controls the "keep position when parenting" option.
>
>    USAGES
>      1.  objparent [on|off|useflag]
>
>    With no arguments, prints the current setting.
>
>    OPTIONS
>      on|off|useflag
>          on
>              Always maintain world space position.
>
>          off
>              Never change the object's position.
>
>          useflag
>              Positioning depends on the "keeppos" parameter of the
>              object.
>
>
>
> On Tue, Jun 1, 2010 at 2:57 PM, Edward Lam <edward at sidefx.com> wrote:
>
>> Pablo Giménez wrote:
>> >> Barring that,
>> >> you will need to use the "Keep Position When Moving Parent" toggle in
>> >> Main Preferences > Objects and Geometry.
>> >>
>> > Is there any way to enable/disable this option using Python or Hscript???
>> > thanks
>>
>> Unfortunately, no. Feel free to log an RFE though.
>>
>> Cheers,
>> -Edward
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
=======================================
Andrew D Lyons | Digital Artist | http://www.tstex.com
=======================================



More information about the Sidefx-houdini-list mailing list