Forum: Poser Python Scripting


Subject: Recognizing the direction the model is facing

Tekitoumen opened this issue on Aug 09, 2022 · 7 posts


Tekitoumen posted Wed, 17 August 2022 at 1:34 AM

Sorry for my bad explanation.


Yes, I would like to know "what direction the model's body (body axis) is facing".

for example,

"The model's body (body axis) is facing right"

"The model's body (body axis) is facing diagonally forward."


I'm trying to automate the following in Python.

・Import the first model file (obj)

・Check the direction the model's body (body axis) is facing

・Move (edit) part of the model in that direction

・Export

・Import the second model file (obj)

···repetition


Therefore, I want to know the orientation of the model's body (body axis) on python.


As you taught me, line of sight is also an indicator.


If you know how to check the body (body axis) of the model from python, including this method, could you tell me?


Thank you.