[X3D-Ecosystem] Blender Python pivot constraint

John Carlson yottzumm at gmail.com
Thu Feb 6 11:03:06 PST 2025


There appears to be an Object.constraints field in Blender.  There are too
many “constraint” occurrences to search properly on my phone.

https://docs.blender.org/api/current/bpy.types.Object.html

Hmm!

John
On Thu, Feb 6, 2025 at 12:53 PM John Carlson <yottzumm at gmail.com> wrote:

> https://docs.blender.org/api/current/bpy.types.PivotConstraint.html
>
> It looks like pivot constraint requires a target object, and then the
> center of rotation is an offset from that object, if there’s no target, the
> offset is absolute.  This fits well if the object is the armature. My
> understanding is the center is either relative to the humanoid or the world
> origin (with no target).
>
> I will try to get this implemented in Blender import/export by Tuesday,
> avoiding work on TimeSensors/actions.
>
> One question is, how to attach pivot constraints to a object.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250206/7c8c7e15/attachment.html>


More information about the X3D-Ecosystem mailing list